diff options
| author | Denis Ledoux <dle@odoo.com> | 2016-03-14 12:25:49 +0100 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2016-03-14 12:34:46 +0100 |
| commit | 000ce6a66d116b397768fd44cb348fdfa933cce1 (patch) | |
| tree | 34ed6e4f1e1fdbc57ac6108e2476783720fb14c4 /addons/website/static/lib/jquery.mjs.nestedSortable | |
| parent | 7bc875724e042a3175e5af80f756975375dbf5fc (diff) | |
[FIX] sale: price currency conversion
In the sales report, the price are displayed within
the company currency.
The rates in `res.currency.rate` are the
rate TO the company currency
e.g., if the company use the USD as currency,
3152.20 COP TO USD, for the Colombian Peso
To display the price within the company currency
from the currency in which the sales happened,
the price must be devided by the currency rate,
not multiplied by
e.g., with the same setup and the above example,
If the product was sell to 315220.00 COP,
the price within the company currency (USD) is
315220.00 / 3152.20 = 100.00 USD
This was corrected at revision
48ccb199373592779a4d01caa7d248333dfda8e6
but it has been omitted during the salepocalypse
94716a3f14d929574c46ef165e4364d12a5903ed
opw-671931
Diffstat (limited to 'addons/website/static/lib/jquery.mjs.nestedSortable')
0 files changed, 0 insertions, 0 deletions
