diff options
| author | Laurent Smet <las@openerp.com> | 2017-11-02 14:02:04 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-11-02 14:02:04 +0100 |
| commit | 455b5aaff82bdc286de05205a6bc39a87f5c36a2 (patch) | |
| tree | f1691ad43f55df35806b81ee174e1f2fd27e5e63 /addons/web_editor/static/src | |
| parent | b9b6deff8ede3236806f21355133e61f76714a89 (diff) | |
[FIX] account, point_of_sale: fix rounding issues with taxes computation (#20573)
Suppose a tax of 20% with price_included = True and apply this tax on 399.99:
- base = 399.99 / 1.2 = 333.32500000000005
- tax_amount = base * 0.2 = 66.665
- round(base) + round(tax_amount) = 333.33 + 66.67 = 400.0 (!= 399.99: WRONG)
-opw: 777925
Diffstat (limited to 'addons/web_editor/static/src')
0 files changed, 0 insertions, 0 deletions
