diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-04-20 10:54:08 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-04-20 13:09:24 +0200 |
| commit | bd025cda6a114de1293b583ef0a9fac88ff145b9 (patch) | |
| tree | 75642904d8773dfc3c90ab7384527fdb3bc5fe84 /addons/web/static/src/js/widgets/debug_manager.js | |
| parent | 85fd9721494311fc07c5856fe368d81345ce65cf (diff) | |
[FIX] stock_landed_costs: former_cost_per_unit precision
The precision of `former_cost_per_unit` should not be set. Indeed, a
stock move can contain several quants with different unit prices.
Therefore, we should not round the field when stored, otherwise the
difference per unit will not be calculated correctly.
This is a workaround since we cannot change the DB structure in stable.
opw-675222
Diffstat (limited to 'addons/web/static/src/js/widgets/debug_manager.js')
0 files changed, 0 insertions, 0 deletions
