summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/tools/debug_manager.js
diff options
context:
space:
mode:
authorjerome hanke (jhk) <jhk@odoo.com>2020-03-05 13:11:19 +0000
committerNicolas Martinelli <nim@odoo.com>2020-03-06 14:25:09 +0000
commit33895b3fd79c49b7396a1e39f6f46e3891ba1e15 (patch)
tree4c25a9e7cc1d09e073294077542cb3fb514b121a /addons/web/static/src/js/tools/debug_manager.js
parentca72c490d092ad58e5b67c05a030b6febb9aa566 (diff)
[FIX] account: show taxes when they are zero on invoices print
- Create a 0 % tax - Create an invoice with a line using the 0 % tax - Print the invoice The 0 % tax is not shown in the 'Tax amount by group' summary, while it should be. In 12.0, the 0 % is created in `account.invoice.tax`, therefore the tax is shown. However, in 13.0 there is no `account.invoice.tax` anymore, and no journal item is created for a zero amount. Therefore, the tax is not shown. We explicitly loop on the zero taxes and add them in the 'Tax amount by group'. opw-2209343 closes odoo/odoo#47092 X-original-commit: 37a0f7acae8aebef35577b178f8aeefed11c9105 Signed-off-by: Nicolas Martinelli (nim) <nim@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/tools/debug_manager.js')
0 files changed, 0 insertions, 0 deletions