From 3801818150da3b95aa4146f1700cebd86834f5d0 Mon Sep 17 00:00:00 2001 From: "Merlin (megu)" Date: Tue, 5 Apr 2022 14:01:18 +0000 Subject: [PATCH] [FIX] l10n_mx: correct repartition for credit notes account The account used in the Repartition for Credit Notes is wrong for taxes `IVA(8%) COMPRAS`, `IVA(16%) COMPRAS`, `IVA(8%) VENTAS`, `RETENCION IVA ARRENDAMIENTO 10.67%`, `RETENCION IVA HONORARIOS 10.67%` and `IVA(0%) COMPRAS` Steps to reproduce: 1. Install Accounting app and l10n_mx module 2. Go to Accounting > Configuration > Invoicing > Taxes 3. Open any one of the taxes mentioned above 4. The account in Repartition for Invoices should be the same as the account in Repartition for Credit Notes Solution: Change the default account used in Repartion for Credit Notes opw-2806228 closes odoo/odoo#88359 X-original-commit: e8dbd07f160dee59117b855ff54d6fb428bf9778 Signed-off-by: Grazioso Andrea (agr) Signed-off-by: Guillaume Merlin (megu) --- addons/l10n_mx/data/account_tax_data.xml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/addons/l10n_mx/data/account_tax_data.xml b/addons/l10n_mx/data/account_tax_data.xml index 1f009b9ffe2..cf5492853f8 100644 --- a/addons/l10n_mx/data/account_tax_data.xml +++ b/addons/l10n_mx/data/account_tax_data.xml @@ -268,7 +268,7 @@ (0,0, { 'factor_percent': 100, 'repartition_type': 'tax', - 'account_id': ref('cuenta216_10'), + 'account_id': ref('cuenta216_10_20'), }), ]"/> @@ -308,7 +308,7 @@ (0,0, { 'factor_percent': 100, 'repartition_type': 'tax', - 'account_id': ref('cuenta216_10'), + 'account_id': ref('cuenta216_10_20'), }), ]"/> @@ -335,6 +335,7 @@ (0,0, { 'factor_percent': 100, 'repartition_type': 'tax', + 'account_id': ref('cuenta118_01'), }), ]"/> @@ -386,7 +388,7 @@ (0,0, { 'factor_percent': 100, 'repartition_type': 'tax', - 'account_id': ref('cuenta119_01'), + 'account_id': ref('cuenta118_01'), }), ]"/> @@ -426,7 +428,7 @@ (0,0, { 'factor_percent': 100, 'repartition_type': 'tax', - 'account_id': ref('cuenta119_01'), + 'account_id': ref('cuenta118_01'), }), ]"/> @@ -467,7 +469,7 @@ 'factor_percent': 100, 'repartition_type': 'tax', 'tag_ids': [ref('l10n_mx.tag_iva')], - 'account_id': ref('cuenta209_01'), + 'account_id': ref('cuenta208_01'), 'tag_ids': [ref('tag_iva')], }), ]"/>