summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/framework/pyeval.js
diff options
context:
space:
mode:
authorJoren Van Onder <jov@odoo.com>2016-03-21 13:46:25 +0100
committerJoren Van Onder <jov@odoo.com>2016-03-21 15:31:38 +0100
commit95f8693a3d6feabf773e06cd812142c6749154dd (patch)
treeb8fc581844c3fb0c121d2d6c6af74fdc12a95a86 /addons/web/static/src/js/framework/pyeval.js
parent51cbf110c3ac558660aec38df245c6a9b54497a9 (diff)
[FIX] point_of_sale: correct sign of fixed tax
Oversight of e8b965f93c3eeb541aba7b6a435193a9008516ac. Although the previous commit gave the correct behaviour for a negative fixed tax with a base_amount of 0, it was still incorrect for positive fixed taxes with a base_amount of 0. This rewrites the code to more closely resemble the relevant code of account.tax._compute_amount() solving the above mentioned issue.
Diffstat (limited to 'addons/web/static/src/js/framework/pyeval.js')
0 files changed, 0 insertions, 0 deletions