diff options
| author | David Arnold <dar@devco.co> | 2016-10-27 13:13:18 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-10-27 14:09:18 +0200 |
| commit | d3de63ec3fe7d98d0f29ec86218ee1102472d3c6 (patch) | |
| tree | c685d198cdb3c02b390a8e450a05ec2311c23876 /addons/web/static/src/js/framework | |
| parent | 147db011c733136d429ba0b705da13b92c18a629 (diff) | |
[FIX] account: nested group of taxes
When a group of tax is nested inside another group of taxes, the tax
amount and base are wrongly calculated. It is also the case when a tax
is applied after a group of taxes.
This is because the recursive call doesn't reuse the previously
calculated tax amounts and base, but always use the same entry amounts.
The fix introduces this behavior, and moreover makes sure to include the
tax group in the base amount only if it should.
Closes #13995
Diffstat (limited to 'addons/web/static/src/js/framework')
0 files changed, 0 insertions, 0 deletions
