From 880c32f93ad156f348d0782fabbfafa556be1117 Mon Sep 17 00:00:00 2001
From: oco-odoo <oco@odoo.com>
Date: Tue, 26 Oct 2021 09:17:23 +0000
Subject: [PATCH] [FIX] l10n_es: Replace grid 61 by the proper tag on tax
 templates

Fix https://github.com/odoo/odoo/commit/b40216a8ae8fefd03311b2884e7b83644baac0a1 was merged though partially ready.

closes odoo/odoo#78987

Signed-off-by: Josse Colpaert <jco@openerp.com>
---
 addons/l10n_es/data/account_tax_data.xml | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/addons/l10n_es/data/account_tax_data.xml b/addons/l10n_es/data/account_tax_data.xml
index 43119a106df9..33487666f601 100644
--- a/addons/l10n_es/data/account_tax_data.xml
+++ b/addons/l10n_es/data/account_tax_data.xml
@@ -1139,7 +1139,7 @@
             (0,0, {
                 'factor_percent': 100,
                 'repartition_type': 'base',
-                'tag_ids': [ref('mod_303_61')],
+                'tag_ids': [ref('mod_303_120')],
             }),
 
             (0,0, {
@@ -1152,7 +1152,7 @@
             (0,0, {
                 'factor_percent': 100,
                 'repartition_type': 'base',
-                'tag_ids': [ref('mod_303_61')],
+                'tag_ids': [ref('mod_303_120')],
             }),
 
             (0,0, {
@@ -1173,7 +1173,7 @@
             (0,0, {
                 'factor_percent': 100,
                 'repartition_type': 'base',
-                'tag_ids': [ref('mod_303_61')],
+                'tag_ids': [ref('mod_303_120')],
             }),
 
             (0,0, {
@@ -1186,7 +1186,7 @@
             (0,0, {
                 'factor_percent': 100,
                 'repartition_type': 'base',
-                'tag_ids': [ref('mod_303_61')],
+                'tag_ids': [ref('mod_303_120')],
             }),
 
             (0,0, {
@@ -1198,7 +1198,7 @@
     <record id="account_tax_template_s_iva_e" model="account.tax.template">
         <field name="description">Extracomunitario (Servicios)</field>
         <field name="type_tax_use">sale</field>
-        <field name="name">IVA 0% Prestación de servicios extracomunitaria</field> <!--TODO OCO 122-->
+        <field name="name">IVA 0% Prestación de servicios extracomunitaria</field>
         <field name="chart_template_id" ref="l10n_es.account_chart_template_common"/>
         <field name="amount" eval="0"/>
         <field name="amount_type">percent</field>
@@ -1207,7 +1207,7 @@
             (0,0, {
                 'factor_percent': 100,
                 'repartition_type': 'base',
-                'tag_ids': [ref('mod_303_61')],
+                'tag_ids': [ref('mod_303_122')],
             }),
 
             (0,0, {
@@ -1220,7 +1220,7 @@
             (0,0, {
                 'factor_percent': 100,
                 'repartition_type': 'base',
-                'tag_ids': [ref('mod_303_61')],
+                'tag_ids': [ref('mod_303_122')],
             }),
 
             (0,0, {
@@ -3618,7 +3618,7 @@
     </record>
     <record id="account_tax_template_s_iva0_isp" model="account.tax.template">
         <field name="description">IVA 0% ISP</field>
-        <field name="name">IVA 0% Venta con Inversión del Sujeto Pasivo</field><!--TODO OCO 122-->
+        <field name="name">IVA 0% Venta con Inversión del Sujeto Pasivo</field>
         <field name="type_tax_use">sale</field>
         <field name="amount_type">percent</field>
         <field name="amount" eval="0"/>
@@ -3628,7 +3628,7 @@
             (0,0, {
                 'factor_percent': 100,
                 'repartition_type': 'base',
-                'tag_ids': [ref('mod_303_61')],
+                'tag_ids': [ref('mod_303_122')],
             }),
 
             (0,0, {
@@ -3641,7 +3641,7 @@
             (0,0, {
                 'factor_percent': 100,
                 'repartition_type': 'base',
-                'tag_ids': [ref('mod_303_61')],
+                'tag_ids': [ref('mod_303_122')],
             }),
 
             (0,0, {
-- 
GitLab