From 2078fefdb1893227a8fb0bdfb4ac6da1397ca1f1 Mon Sep 17 00:00:00 2001 From: Olivier Colson Date: Wed, 3 Jul 2019 10:21:46 +0000 Subject: [PATCH] [FIX] l10n_es: fix base tags for groups of taxes Before that, groups of taxes defined in l10n_es only defined tags on child taxes. This is wrong: base tags of a group of taxes should always be set on the group itself; children should only contain tax tags (at least, if their type_tax_use is 'none'). Indeed, the tax_ids field of aml generated for these taxes will point to the group, while tax_line_id points to its children. closes odoo/odoo#34557 Signed-off-by: Laurent Smet --- addons/l10n_es/data/account_tax_data.xml | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/addons/l10n_es/data/account_tax_data.xml b/addons/l10n_es/data/account_tax_data.xml index 327144f6fe1..0bad56c5caf 100644 --- a/addons/l10n_es/data/account_tax_data.xml +++ b/addons/l10n_es/data/account_tax_data.xml @@ -225,6 +225,7 @@ group + @@ -257,7 +258,8 @@ P_IVA21_IC_BC group - + + purchase IVA 21% Adquisición Intracomunitaria. Bienes corrientes @@ -296,6 +298,7 @@ group + @@ -368,6 +371,7 @@ group purchase + IVA 4% Adquisición de servicios extracomunitarios @@ -403,6 +407,7 @@ group + purchase IVA 10% Adquisición de servicios extracomunitarios @@ -441,6 +446,7 @@ group + @@ -477,6 +483,7 @@ purchase IVA 4% Adquisición Intracomunitario. Bienes corrientes + @@ -514,6 +521,7 @@ purchase IVA 4% Adquisición Intracomunitario. Bienes de inversión + @@ -550,6 +558,7 @@ purchase IVA 10% Adquisición Intracomunitario. Bienes corrientes + @@ -586,6 +595,7 @@ purchase IVA 10% Adquisición Intracomunitario. Bienes de inversión + @@ -1248,6 +1258,7 @@ purchase IVA 10% Adquisición de servicios intracomunitarios + @@ -1284,6 +1295,7 @@ purchase IVA 4% Adquisición de servicios intracomunitarios + @@ -1390,6 +1402,7 @@ group + @@ -1426,6 +1439,7 @@ group + @@ -1462,6 +1476,7 @@ group +