summaryrefslogtreecommitdiff
path: root/addons/l10n_mx
diff options
context:
space:
mode:
authorOlivier Colson <oco@odoo.com>2019-07-15 08:19:08 +0000
committerOlivier Colson <oco@odoo.com>2019-08-02 23:07:22 +0000
commit333c22edd9eee246214259be587e10b8202f40a0 (patch)
treeb825920daec573f6b43cc428712b2faa95ab1e0c /addons/l10n_mx
parent3efefd2171fffaf9e6433cb4f2eb4ef26de7a298 (diff)
[FIX] l10n_*: fix taxes repartition so that 12.3 matches what is defined in 12.2
[IMP] l10n_*: don't define accounts or tags on tax repartition line templates anymore for 0% taxes [FIX] account: remove old function used to migrate the former tax model, incompatible with the new one
Diffstat (limited to 'addons/l10n_mx')
-rw-r--r--addons/l10n_mx/data/account_tax_data.xml10
1 files changed, 4 insertions, 6 deletions
diff --git a/addons/l10n_mx/data/account_tax_data.xml b/addons/l10n_mx/data/account_tax_data.xml
index a01635f2f65..7d5a3faf852 100644
--- a/addons/l10n_mx/data/account_tax_data.xml
+++ b/addons/l10n_mx/data/account_tax_data.xml
@@ -69,8 +69,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'tag_ids': [ref('l10n_mx.tag_iva')],
- 'account_id': ref('cuenta208_01'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -82,8 +80,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'tag_ids': [ref('l10n_mx.tag_iva')],
- 'account_id': ref('cuenta209_01'),
}),
]"/>
</record>
@@ -110,6 +106,7 @@
'repartition_type': 'tax',
'tag_ids': [ref('l10n_mx.tag_iva')],
'account_id': ref('cuenta208_01'),
+ 'tag_ids': [ref('tag_iva')],
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -123,6 +120,7 @@
'repartition_type': 'tax',
'tag_ids': [ref('l10n_mx.tag_iva')],
'account_id': ref('cuenta209_01'),
+ 'tag_ids': [ref('tag_iva')],
}),
]"/>
</record>
@@ -372,7 +370,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('cuenta118_01'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -385,7 +382,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('cuenta119_01'),
}),
]"/>
</record>
@@ -490,6 +486,7 @@
'repartition_type': 'tax',
'tag_ids': [ref('l10n_mx.tag_iva')],
'account_id': ref('cuenta208_01'),
+ 'tag_ids': [ref('tag_iva')],
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -503,6 +500,7 @@
'repartition_type': 'tax',
'tag_ids': [ref('l10n_mx.tag_iva')],
'account_id': ref('cuenta209_01'),
+ 'tag_ids': [ref('tag_iva')],
}),
]"/>
</record>