diff options
| author | Joren Van Onder <jov@odoo.com> | 2016-03-21 13:46:25 +0100 |
|---|---|---|
| committer | Joren Van Onder <jov@odoo.com> | 2016-03-21 15:31:38 +0100 |
| commit | 95f8693a3d6feabf773e06cd812142c6749154dd (patch) | |
| tree | b8fc581844c3fb0c121d2d6c6af74fdc12a95a86 /addons/web/static/src/js/framework | |
| parent | 51cbf110c3ac558660aec38df245c6a9b54497a9 (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')
0 files changed, 0 insertions, 0 deletions
