diff options
| author | Lucas Perais (lpe) <lpe@odoo.com> | 2019-03-06 08:58:52 +0000 |
|---|---|---|
| committer | Lucas Perais (lpe) <lpe@odoo.com> | 2019-03-06 08:58:52 +0000 |
| commit | 1a9393c8d7cef5f06e47ef1c657d3cb6fe037d25 (patch) | |
| tree | a390a9f55ae030cab43bd8a6f4c6b8fee39d612b /addons/web/static/src/js/fields/basic_fields.js | |
| parent | 188ddec890adbdf830ec18e480bae0718e0a84f6 (diff) | |
[FIX] account: invoice compute tax group amount correctly grouped
Before this commit, when printing an invoice, the taxes were grouped
by their tax group (NOT by their parent tax)
Summing the base of each tax in the process.
This was largely insufficient, as tax groups can have taxes
with different rates or computation method within them
The summing of the base of each tax for reach tax group was in this case plain wrong
This commit aims at grouping by
group > computation method > amount
Which makes more sense
OPW 1947202
OPW 1945353
closes odoo/odoo#31617
Signed-off-by: Lucas Perais (lpe) <lpe@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields/basic_fields.js')
0 files changed, 0 insertions, 0 deletions
