summaryrefslogtreecommitdiff
path: root/addons/l10n_de_skr03
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_de_skr03
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_de_skr03')
-rw-r--r--addons/l10n_de_skr03/data/account_tax_fiscal_position_data.xml2
-rw-r--r--addons/l10n_de_skr03/migrations/9.0.2.0/post-migrate_tags_on_taxes.py8
2 files changed, 0 insertions, 10 deletions
diff --git a/addons/l10n_de_skr03/data/account_tax_fiscal_position_data.xml b/addons/l10n_de_skr03/data/account_tax_fiscal_position_data.xml
index 2bc8cfc4e67..c95fff75bf5 100644
--- a/addons/l10n_de_skr03/data/account_tax_fiscal_position_data.xml
+++ b/addons/l10n_de_skr03/data/account_tax_fiscal_position_data.xml
@@ -923,7 +923,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('account_1770'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5, 0, 0),
@@ -936,7 +935,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('account_1770'),
}),
]"/>
<field name="tax_group_id" ref="tax_group_x"/>
diff --git a/addons/l10n_de_skr03/migrations/9.0.2.0/post-migrate_tags_on_taxes.py b/addons/l10n_de_skr03/migrations/9.0.2.0/post-migrate_tags_on_taxes.py
deleted file mode 100644
index 404cdd185d4..00000000000
--- a/addons/l10n_de_skr03/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)