diff options
| author | Joren Van Onder <jov@odoo.com> | 2018-01-08 18:18:59 -0800 |
|---|---|---|
| committer | Joren Van Onder <jov@odoo.com> | 2018-01-12 11:14:09 -0800 |
| commit | 11c73cd0aa2ff9cbfde8e5eebf3f22dfa1c805f1 (patch) | |
| tree | dac8646c62c47b9456154fd5f67d7e3321b36c48 /addons/web/static/src/js/fields | |
| parent | 26d3b77a1de2472a7ce69210dc6aef7f7a615e69 (diff) | |
[FIX] stock_landed_cost: round former_cost of valuations for total_cost
When computing the total_cost of a landed cost make sure to round the
individual costs of the valuation lines the same way as done by the
ORM (i.e. with the 'Product price' precision).
Otherwise the sum of the additional costs on the valuation lines will
not equal the price of the cost lines. This is wrong and leads to
errors during validation.
opw-804396
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
