summaryrefslogtreecommitdiff
path: root/addons/web_editor
diff options
context:
space:
mode:
authorLaurent Smet <las@odoo.com>2019-08-26 12:55:34 +0000
committerLaurent Smet <las@odoo.com>2019-08-27 14:36:10 +0000
commitb6bf77ead796ef0ef57f8bfc186864d0580dee2f (patch)
treeaba31f486c652d78c897d3a10f51623e577ae577 /addons/web_editor
parentd310cd447850d8451b9b51b0e3b6243734cddaef (diff)
[FIX] account: Fix taxes computation
1) Suppose a tax of 21% intracomm +100%, -100% applied on 100.0. The computed price_excluded was 121.0 instead of 100.0 because the assumption was made the sum of repartition lines factor was always 100.0%. After this fix, the amounts are always multiplied by the sum of repartition lines factor in order to reflect correctly the impact of each repartition lines. 2) The rounding is now working for any kind of repartition lines and the consistency of tax amount regarding the repartition lines is always ensured. See use cases described by the tests for more details. closes odoo/odoo#36082 Signed-off-by: Laurent Smet <smetl@users.noreply.github.com>
Diffstat (limited to 'addons/web_editor')
0 files changed, 0 insertions, 0 deletions