summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorPierre Masereel <pim@odoo.com>2019-09-12 13:18:49 +0000
committerPierre Masereel <pim@odoo.com>2019-09-12 14:17:50 +0000
commite09d7d1b25738fb6bd95b22910d79a6da053aa8b (patch)
tree3105a2c99fcdbbd9ada4ff0d60b23621af91690d /addons/web/static/src/js/views/basic/basic_controller.js
parent492e4cc5a12fb062e106836fc35889072b85453c (diff)
[FIX] pos_discount: get price based on total without tax
When you are applying a discount, the base amount is the one tax included which is wrong as we'll apply the tax of the discount product on it. So we are basing the discount computation on the total without taxes and then apply the tax configured on the product. It doesn't work with multiple taxes, but will be handled in future developement in odoo. closes odoo/odoo#36798 Signed-off-by: pimodoo <pimodoo@users.noreply.github.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions