From 50518ee676a975d7f028f58bd4028417f6f010f0 Mon Sep 17 00:00:00 2001 From: "Pedro M. Baeza" Date: Thu, 1 Apr 2021 16:16:05 +0000 Subject: [PATCH] [FIX] l10n_es: Create tax group for non deductible VAT Previously on v12, every tax was added in an account.invoice.tax line, being clear about the amount of each one. Now on v13, that table has dissappeared, and the tax summary at the footer grouped by tax group, resulting in a mix of all taxes with the same percentage. This is not usually a problem, as the same percentage taxes are not included at the same time in the same invoice, except an exception: non deductible VAT. For this case, we can have several lines with the same percentage as deductible or non deductible, and all being mixed in the footer. For avoiding the problem, we create a new tax group, and use it for non deductible VAT taxes. We can consider to add 3 groups, one per percentage of non deductible VAT, but it's an overhead that doesn't add too much value (the 95% percent of the non deductible is 21%), and even if having several of them in the same invoice, to see the total amount grouped as "IVA no deducible" is not a big deal. closes odoo/odoo#68789 X-original-commit: fb6e0d5962963fbf22fbe56864a10aec7868292b Signed-off-by: Josse Colpaert --- addons/l10n_es/data/account_data.xml | 3 +++ addons/l10n_es/data/account_tax_data.xml | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/addons/l10n_es/data/account_data.xml b/addons/l10n_es/data/account_data.xml index 4226e2066c5..85838721ff2 100644 --- a/addons/l10n_es/data/account_data.xml +++ b/addons/l10n_es/data/account_data.xml @@ -60,5 +60,8 @@ IVA 10,5% REAGYP + + IVA no deducible + diff --git a/addons/l10n_es/data/account_tax_data.xml b/addons/l10n_es/data/account_tax_data.xml index 88e59ea6609..dabe3167996 100644 --- a/addons/l10n_es/data/account_tax_data.xml +++ b/addons/l10n_es/data/account_tax_data.xml @@ -1813,7 +1813,7 @@ percent - + percent - + percent - +