diff --git a/addons/l10n_ec/data/account_tax_template_withhold_profit_data.xml b/addons/l10n_ec/data/account_tax_template_withhold_profit_data.xml
index 870d2e1dd1f49..cf475b0eac9b1 100644
--- a/addons/l10n_ec/data/account_tax_template_withhold_profit_data.xml
+++ b/addons/l10n_ec/data/account_tax_template_withhold_profit_data.xml
@@ -609,6 +609,7 @@
319 1.75% Cuotas de Arrendamiento Mercantil (Prestado por Sociedades), Inclusive la de Opción de Compra
+ False
none
percent
70
@@ -640,6 +641,39 @@
'minus_report_expression_ids': [ref('tax_report_line_103_369_tag')],
})]"/>
+
+ 319 2% Cuotas de Arrendamiento Mercantil (Prestado por Sociedades), Inclusive la de Opción de Compra
+ none
+ percent
+ 70
+ -2
+ 319
+ 369
+ 319
+ 319
+
+
+
+
+
320 8% Por Arrendamiento Bienes Inmuebles
False
diff --git a/addons/l10n_ec/migrations/3.6/post-migrate_update_taxes.py b/addons/l10n_ec/migrations/3.6/post-migrate_update_taxes.py
index 85bc6a9d085b2..3265458f022e2 100644
--- a/addons/l10n_ec/migrations/3.6/post-migrate_update_taxes.py
+++ b/addons/l10n_ec/migrations/3.6/post-migrate_update_taxes.py
@@ -25,7 +25,7 @@ def update_ec_codes(cr, env):
companies = env['res.company'].search([('chart_template_id', '=', env.ref('l10n_ec.l10n_ec_ifrs').id)])
for company in companies:
taxes_to_update = [
- (f'{company.id}_tax_withhold_profit_3440', '3340', '3940')
+ (f'{company.id}_tax_withhold_profit_3440', '3440', '3940')
]
for xml_id, l10n_ec_code_base, l10n_ec_code_applied in taxes_to_update:
cr.execute("UPDATE account_tax SET l10n_ec_code_base=%s, l10n_ec_code_applied=%s "
@@ -51,6 +51,7 @@ def inactivate_taxes_replaced(cr, env):
f'{company.id}_tax_withhold_profit_314D', # replaced by tax_withhold_profit_314D_10
f'{company.id}_tax_withhold_profit_320', # replaced by tax_withhold_profit_320_10
f'{company.id}_tax_withhold_profit_322', # replaced by tax_withhold_profit_322_1
+ f'{company.id}_tax_withhold_profit_319', # replaced by tax_withhold_profit_319_2
]
for xml_id in taxes_to_inactivate:
cr.execute("UPDATE account_tax SET active=False "