diff options
| author | Olivier Dony <odo@openerp.com> | 2013-11-04 18:32:32 +0100 |
|---|---|---|
| committer | Olivier Dony <odo@openerp.com> | 2013-11-04 18:32:32 +0100 |
| commit | 6be89e5f82232dff2d5d57a43ed7bb0d86afecbd (patch) | |
| tree | 31b7103e0c8a6434dcf4c44afd049019ac8ab277 /addons/web/static/src | |
| parent | a6ca3b043fd898cfcb714b3fb4d24b9377e8d00c (diff) | |
[FIX] stock: no early currency rounding when computing average price
It is a common need to set a higher decimal precision
for `Product Price` (i.e. the product cost field) for
high volume / low value items. This may typically
require up to 4-6 decimals for e.g. EUR/USD-based
companies where the currency has 2 decimals.
In that case the product cost should be stored with
full precision without applying the currency rounding.
The appropriate currency rounding will be applied
anyway as soon as a transaction actually uses that
product cost (typically in a SO/PO)
bzr revid: odo@openerp.com-20131104173232-84g115x6ykxoc1rh
Diffstat (limited to 'addons/web/static/src')
0 files changed, 0 insertions, 0 deletions
