Skip to content

Commit ed5692c

Browse files
authored
Merge pull request #5550 from Tecnativa/17.0-ou_fix-l10n_mx
[17.0][OU-FIX] l10n_mx: Add missing tags to safely remove
2 parents 7ac8b00 + d67274e commit ed5692c

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

openupgrade_scripts/scripts/l10n_mx/17.0.2.2/post-migration.py

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,29 @@ def _compute_new_tax_type(env):
2121

2222
def _delete_analytic_tags(env):
2323
l10n_mx_xmlids = [
24+
"tag_iva",
25+
"tag_isr",
26+
"tag_ieps",
2427
"tag_diot_0",
28+
"tag_diot_16_refund",
2529
"tag_diot_16",
2630
"tag_diot_16_imp",
31+
"tag_diot_16_imp_non_cre",
32+
"tag_diot_16_imp_refund",
2733
"tag_diot_16_non_cre",
2834
"tag_diot_8",
2935
"tag_diot_8_non_cre",
30-
"tag_diot_exento",
36+
"tag_diot_8_refund",
37+
"tag_diot_8_south",
38+
"tag_diot_8_south_non_cre",
39+
"tag_diot_8_south_refund",
40+
"tag_diot_16_imp_int",
41+
"tag_diot_16_imp_int_non_cre",
42+
"tag_diot_16_imp_int_refund",
3143
"tag_diot_ret",
32-
"tag_ieps",
33-
"tag_isr",
34-
"tag_iva",
44+
"tag_diot_exento",
45+
"tag_diot_exento_imp",
46+
"tag_diot_no_obj",
3547
]
3648
openupgrade.delete_records_safely_by_xml_id(
3749
env, [f"l10n_mx.{x}" for x in l10n_mx_xmlids]

0 commit comments

Comments
 (0)