summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorLaurent Smet <las@odoo.com>2020-01-21 09:02:08 +0000
committerLaurent Smet <las@odoo.com>2020-01-28 08:01:21 +0000
commitefa60a1538905cd34a1a47939ea0ff8339f214ba (patch)
tree54b98a8181d722ad79c61a023ed9e6f6ec1ae14b /addons/web/static/src/js/fields
parent5aa0822a9d098ab1b065d3536f9ced18a5ae54b8 (diff)
[FIX] account: Fix rounding issue on price_unit with price included tax
Suppose a price_unit of 2300 with a 5.5% price-included tax applied on it. The computed balance will be computed as follow: 2300.0 / 1.055 = 2180.0948 ~ 2180.09. Since accounting / business fields are synchronized, the inverse computation will try to recompute the price_unit based on the balance: 2180.09 * 1.055 = 2299.99495 ~ 2299.99. --issue: 2168073
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions