summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorLucas Perais (lpe) <lpe@odoo.com>2019-07-26 09:21:45 +0000
committerLucas Perais (lpe) <lpe@odoo.com>2019-07-26 11:44:31 +0000
commit701fd43f6dc7c01eb709d650fced85a4346af7c9 (patch)
tree465a98654e3ac7ca9a1a934af81be3e15a281d3b /addons/web/static/src/js/views/basic/basic_controller.js
parent44123897329c13fc41801f626616c43a24ca13f5 (diff)
[FIX] point_of_sale: order total round globally
Before this commit, the amount total of an order in round_globally was simply the sum of all taxes amounts, then rounded This is plain wrong, as the accepted semantics of round globally is that: - each tax for each line is computed without rounding - then each taxes is summed across all order lines - then that amount is rounded - then all those rounded tax amount are summed together After this commit, this semantics is implemented closes odoo/odoo#35211 Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions