diff options
| author | Goffin Simon <sig@odoo.com> | 2017-02-23 20:00:05 +0100 |
|---|---|---|
| committer | Goffin Simon <sig@odoo.com> | 2017-02-27 11:08:43 +0100 |
| commit | d612daae719ce3da86c3e44a91a6138a1733dcc2 (patch) | |
| tree | 4ff640a60aa71ae936a023e115c45aed45730c4c /addons/web/static/src/xml | |
| parent | 24fa6012e76495434c492371989caec9ceecfa0d (diff) | |
[FIX] product_visible_discount: product_id_change
When computing the discount in product_id_change, before the fix
discount was equal to (new_list_price - line.price_unit) / new_list_price * 100
But line.price_unit was already rounded so the discount computed was not the
discount set in the pricelist due to rounding error.
opw:709704
Diffstat (limited to 'addons/web/static/src/xml')
0 files changed, 0 insertions, 0 deletions
