From ad4af37b96ad5256fd95b3d37f41eb19f6835bb6 Mon Sep 17 00:00:00 2001 From: Julien Van Roy Date: Thu, 28 Sep 2023 14:13:56 +0200 Subject: [PATCH] [FIX] l10n_mx: remove useless tags after `l10n_mx_tax_type` The iva, ieps, isr tags are useless since there is the selection field `l10n_mx_tax_type` on the taxes. task-3388347 closes odoo/odoo#136948 Related: odoo/enterprise#48088 Related: odoo/upgrade#5204 Signed-off-by: Laurent Smet (las) --- addons/l10n_mx/data/account.account.tag.csv | 3 -- .../l10n_mx/data/template/account.tax-mx.csv | 52 +++++++++---------- 2 files changed, 26 insertions(+), 29 deletions(-) diff --git a/addons/l10n_mx/data/account.account.tag.csv b/addons/l10n_mx/data/account.account.tag.csv index e691c4d56c6..e2907a4d771 100644 --- a/addons/l10n_mx/data/account.account.tag.csv +++ b/addons/l10n_mx/data/account.account.tag.csv @@ -1,6 +1,3 @@ id,name,applicability,country_id/id,color -tag_iva,IVA,taxes,base.mx,0 -tag_isr,ISR,taxes,base.mx,0 -tag_ieps,IEPS,taxes,base.mx,0 tag_debit_balance_account,Debit Balance Account,accounts,base.mx,0 tag_credit_balance_account,Credit Balance Account,accounts,base.mx,0 diff --git a/addons/l10n_mx/data/template/account.tax-mx.csv b/addons/l10n_mx/data/template/account.tax-mx.csv index ad36a18744e..0ffaba01bf4 100644 --- a/addons/l10n_mx/data/template/account.tax-mx.csv +++ b/addons/l10n_mx/data/template/account.tax-mx.csv @@ -1,52 +1,52 @@ "id","sequence","name","description","invoice_label","amount","amount_type","type_tax_use","tax_group_id","tax_exigibility","cash_basis_transition_account_id","include_base_amount","l10n_mx_tax_type","l10n_mx_factor_type","active","repartition_line_ids/repartition_type","repartition_line_ids/document_type","repartition_line_ids/account_id","repartition_line_ids/tag_ids","description@es","invoice_label@es" "ieps_8_sale","0","8% IEPS","","IEPS 8%","8.0","percent","sale","tax_group_ieps_8","on_payment","cuenta209_02","1","ieps","","0","base","invoice","","","","" -"","","","","","","","","","","","","","","","tax","invoice","cuenta208_02","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","invoice","cuenta208_02","","","" "","","","","","","","","","","","","","","","base","refund","","","","" -"","","","","","","","","","","","","","","","tax","refund","cuenta208_02","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","refund","cuenta208_02","","","" "ieps_8_purchase","1","8% IEPS","","IEPS 8%","8.0","percent","purchase","tax_group_ieps_8","on_payment","cuenta119_03","1","ieps","","","base","invoice","","","","" -"","","","","","","","","","","","","","","","tax","invoice","cuenta118_03","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","invoice","cuenta118_03","","","" "","","","","","","","","","","","","","","","base","refund","","","","" -"","","","","","","","","","","","","","","","tax","refund","cuenta118_03","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","refund","cuenta118_03","","","" "ieps_25_sale","2","25% IEPS","","IEPS 25%","25.0","percent","sale","tax_group_ieps_25","on_payment","cuenta209_02","1","ieps","","0","base","invoice","","","","" -"","","","","","","","","","","","","","","","tax","invoice","cuenta208_02","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","invoice","cuenta208_02","","","" "","","","","","","","","","","","","","","","base","refund","","","","" -"","","","","","","","","","","","","","","","tax","refund","cuenta208_02","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","refund","cuenta208_02","","","" "ieps_25_purchase","3","25% IEPS","","IEPS 25%","25.0","percent","purchase","tax_group_ieps_25","on_payment","cuenta119_03","1","ieps","","","base","invoice","","","","" -"","","","","","","","","","","","","","","","tax","invoice","cuenta118_03","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","invoice","cuenta118_03","","","" "","","","","","","","","","","","","","","","base","refund","","","","" -"","","","","","","","","","","","","","","","tax","refund","cuenta118_03","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","refund","cuenta118_03","","","" "ieps_26_5_sale","4","26.5% IEPS","","IEPS 26.5%","26.5","percent","sale","tax_group_ieps_26_5","on_payment","cuenta209_02","1","ieps","","0","base","invoice","","","","" -"","","","","","","","","","","","","","","","tax","invoice","cuenta208_02","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","invoice","cuenta208_02","","","" "","","","","","","","","","","","","","","","base","refund","","","","" -"","","","","","","","","","","","","","","","tax","refund","cuenta208_02","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","refund","cuenta208_02","","","" "ieps_26_5_purchase","5","26.5% IEPS","","IEPS 26.5%","26.5","percent","purchase","tax_group_ieps_26_5","on_payment","cuenta119_03","1","ieps","","","base","invoice","","","","" -"","","","","","","","","","","","","","","","tax","invoice","cuenta118_03","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","invoice","cuenta118_03","","","" "","","","","","","","","","","","","","","","base","refund","","","","" -"","","","","","","","","","","","","","","","tax","refund","cuenta118_03","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","refund","cuenta118_03","","","" "ieps_30_sale","6","30% IEPS","","IEPS 30%","30.0","percent","sale","tax_group_ieps_30","on_payment","cuenta209_02","1","ieps","","0","base","invoice","","","","" -"","","","","","","","","","","","","","","","tax","invoice","cuenta208_02","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","invoice","cuenta208_02","","","" "","","","","","","","","","","","","","","","base","refund","","","","" -"","","","","","","","","","","","","","","","tax","refund","cuenta208_02","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","refund","cuenta208_02","","","" "ieps_30_purchase","7","30% IEPS","","IEPS 30%","30.0","percent","purchase","tax_group_ieps_30","on_payment","cuenta119_03","1","ieps","","","base","invoice","","","","" -"","","","","","","","","","","","","","","","tax","invoice","cuenta118_03","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","invoice","cuenta118_03","","","" "","","","","","","","","","","","","","","","base","refund","","","","" -"","","","","","","","","","","","","","","","tax","refund","cuenta118_03","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","refund","cuenta118_03","","","" "ieps_53_sale","8","53% IEPS","","IEPS 53%","53.0","percent","sale","tax_group_ieps_53","on_payment","cuenta209_02","1","ieps","","0","base","invoice","","","","" -"","","","","","","","","","","","","","","","tax","invoice","cuenta208_02","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","invoice","cuenta208_02","","","" "","","","","","","","","","","","","","","","base","refund","","","","" -"","","","","","","","","","","","","","","","tax","refund","cuenta208_02","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","refund","cuenta208_02","","","" "ieps_53_purchase","9","53% IEPS","","IEPS 53%","53.0","percent","purchase","tax_group_ieps_53","on_payment","cuenta119_03","1","ieps","","","base","invoice","","","","" -"","","","","","","","","","","","","","","","tax","invoice","cuenta118_03","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","invoice","cuenta118_03","","","" "","","","","","","","","","","","","","","","base","refund","","","","" -"","","","","","","","","","","","","","","","tax","refund","cuenta118_03","l10n_mx.tag_ieps","","" +"","","","","","","","","","","","","","","","tax","refund","cuenta118_03","","","" "tax9","10","0%","","VAT(0%)","0.0","percent","sale","tax_group_iva_0","on_payment","cuenta209_01","","iva","Tasa","","base","invoice","","","IVA(0%)","IVA(0%)" -"","","","","","","","","","","","","","","","tax","invoice","cuenta208_01","l10n_mx.tag_iva","","" +"","","","","","","","","","","","","","","","tax","invoice","cuenta208_01","","","" "","","","","","","","","","","","","","","","base","refund","","","","" -"","","","","","","","","","","","","","","","tax","refund","cuenta208_01","l10n_mx.tag_iva","","" +"","","","","","","","","","","","","","","","tax","refund","cuenta208_01","","","" "tax12","11","16%","","VAT(16%)","16.0","percent","sale","tax_group_iva_16","on_payment","cuenta209_01","","iva","Tasa","","base","invoice","","","IVA(16%)","IVA(16%)" -"","","","","","","","","","","","","","","","tax","invoice","cuenta208_01","l10n_mx.tag_iva","","" +"","","","","","","","","","","","","","","","tax","invoice","cuenta208_01","","","" "","","","","","","","","","","","","","","","base","refund","","","","" -"","","","","","","","","","","","","","","","tax","refund","cuenta208_01","l10n_mx.tag_iva","","" +"","","","","","","","","","","","","","","","tax","refund","cuenta208_01","","","" "tax1","12","4% WH","VAT withholding","VAT withholding(-4%)","-4.0","percent","purchase","tax_group_iva_ret_4","on_payment","cuenta216_10","","iva","Tasa","","base","invoice","","","Retención del IVA","Retención IVA(-4%)" "","","","","","","","","","","","","","","","tax","invoice","cuenta216_10_20","-DIOT: Retención","","" "","","","","","","","","","","","","","","","base","refund","","","","" @@ -88,6 +88,6 @@ "","","","","","","","","","","","","","","","base","refund","","","","" "","","","","","","","","","","","","","","","tax","refund","cuenta118_01","+DIOT: Refunds","","" "tax17","22","8%","","VAT(8%)","8.0","percent","sale","tax_group_iva_8","on_payment","cuenta209_01","","iva","Tasa","","base","invoice","","","IVA(8%) ventas","IVA(8%)" -"","","","","","","","","","","","","","","","tax","invoice","cuenta208_01","l10n_mx.tag_iva","","" +"","","","","","","","","","","","","","","","tax","invoice","cuenta208_01","","","" "","","","","","","","","","","","","","","","base","refund","","","","" -"","","","","","","","","","","","","","","","tax","refund","cuenta208_01","l10n_mx.tag_iva","","" +"","","","","","","","","","","","","","","","tax","refund","cuenta208_01","","",""