diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-06-03 17:03:13 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-06-03 17:09:41 +0200 |
| commit | 4810513f3cb84e96888bd452577032c02652ed0c (patch) | |
| tree | 14a5e897619ae2285f6f17ba8eb66a5dfe848c13 /addons/web/static/src/js/framework/session_instance.js | |
| parent | def824682edc770a79128ee7ed80661dfb68140f (diff) | |
[FIX] res_currency: company rates subselect
The sub-select used to fetch companies rates
was wrong in the case rates with no company set
were entered before rates for specific companies.
e.g., for USD, the below rates:
Date Rate Company
2016-02-13 0.721400
2016-02-25 0.738800 1
2016-02-26 0.740000 1
the sub-select returned
Rate Start End
0.721400 2016-02-13
0.738800 2016-02-25 2016-02-26
0.740000 2016-02-26
while it was expected to return
Rate Start End
0.721400 2016-02-13 2016-02-25
0.738800 2016-02-25 2016-02-26
0.740000 2016-02-26
as the rate 0.721400 ended on 2016-02-25,
since a new rate specific to this company 1 was
added at that date.
opw-678726
Diffstat (limited to 'addons/web/static/src/js/framework/session_instance.js')
0 files changed, 0 insertions, 0 deletions
