summaryrefslogtreecommitdiff
path: root/addons/l10n_be
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_be
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_be')
-rw-r--r--addons/l10n_be/data/account_tax_template_data.xml44
-rw-r--r--addons/l10n_be/migrations/9.0.2.0/post-migrate_tags_on_taxes.py8
2 files changed, 0 insertions, 52 deletions
diff --git a/addons/l10n_be/data/account_tax_template_data.xml b/addons/l10n_be/data/account_tax_template_data.xml
index 70c71a446b2..67ce4fc506f 100644
--- a/addons/l10n_be/data/account_tax_template_data.xml
+++ b/addons/l10n_be/data/account_tax_template_data.xml
@@ -266,7 +266,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -279,7 +278,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
}),
]"/>
</record>
@@ -304,8 +302,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
- 'plus_report_line_ids': [],
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -318,8 +314,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
- 'plus_report_line_ids': [],
}),
]"/>
</record>
@@ -344,7 +338,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -357,7 +350,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
}),
]"/>
</record>
@@ -383,7 +375,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -396,7 +387,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
}),
]"/>
</record>
@@ -421,7 +411,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -434,7 +423,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
}),
]"/>
</record>
@@ -460,7 +448,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -473,7 +460,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
}),
]"/>
</record>
@@ -498,7 +484,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -511,7 +496,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451054'),
}),
]"/>
</record>
@@ -659,7 +643,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -673,7 +656,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
</record>
@@ -992,7 +974,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -1006,7 +987,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
</record>
@@ -1032,7 +1012,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -1046,7 +1025,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
</record>
@@ -1198,7 +1176,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -1212,7 +1189,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
</record>
@@ -1396,7 +1372,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -1410,7 +1385,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
</record>
@@ -1595,7 +1569,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -1609,7 +1582,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
</record>
@@ -1794,7 +1766,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451056'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -1808,7 +1779,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a451056'),
}),
]"/>
</record>
@@ -2048,7 +2018,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -2062,7 +2031,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
</record>
@@ -2406,7 +2374,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -2420,7 +2387,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
</record>
@@ -2499,7 +2465,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -2513,7 +2478,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
</record>
@@ -2645,7 +2609,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -2659,7 +2622,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
</record>
@@ -2843,7 +2805,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -2857,7 +2818,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
</record>
@@ -3042,7 +3002,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -3056,7 +3015,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
</record>
@@ -3241,7 +3199,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -3255,7 +3212,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('a411059'),
}),
]"/>
</record>
diff --git a/addons/l10n_be/migrations/9.0.2.0/post-migrate_tags_on_taxes.py b/addons/l10n_be/migrations/9.0.2.0/post-migrate_tags_on_taxes.py
deleted file mode 100644
index 404cdd185d4..00000000000
--- a/addons/l10n_be/migrations/9.0.2.0/post-migrate_tags_on_taxes.py
+++ /dev/null
@@ -1,8 +0,0 @@
-# -*- coding: utf-8 -*-
-
-import odoo
-
-def migrate(cr, version):
- registry = odoo.registry(cr.dbname)
- from odoo.addons.account.models.chart_template import migrate_tags_on_taxes
- migrate_tags_on_taxes(cr, registry)