summaryrefslogtreecommitdiff
path: root/addons/l10n_no
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_no
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_no')
-rw-r--r--addons/l10n_no/data/account_tax_data.xml4
-rw-r--r--addons/l10n_no/migrations/9.0.2.0/post-migrate_tags_on_taxes.py7
2 files changed, 0 insertions, 11 deletions
diff --git a/addons/l10n_no/data/account_tax_data.xml b/addons/l10n_no/data/account_tax_data.xml
index 9eebd2dbe17..341f5207689 100644
--- a/addons/l10n_no/data/account_tax_data.xml
+++ b/addons/l10n_no/data/account_tax_data.xml
@@ -306,7 +306,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('chart2714'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5,0,0),
@@ -317,7 +316,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('chart2714'),
}),
]"/>
</record>
@@ -339,7 +337,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('chart2704'),
}),
]"/>
<field name="refund_repartition_line_ids" eval="[(5,0,0),
@@ -351,7 +348,6 @@
(0,0, {
'factor_percent': 100,
'repartition_type': 'tax',
- 'account_id': ref('chart2704'),
}),
]"/>
</record>
diff --git a/addons/l10n_no/migrations/9.0.2.0/post-migrate_tags_on_taxes.py b/addons/l10n_no/migrations/9.0.2.0/post-migrate_tags_on_taxes.py
deleted file mode 100644
index a37770d2c1c..00000000000
--- a/addons/l10n_no/migrations/9.0.2.0/post-migrate_tags_on_taxes.py
+++ /dev/null
@@ -1,7 +0,0 @@
-from openerp.modules.registry import RegistryManager
-
-
-def migrate(cr, version):
- registry = RegistryManager.get(cr.dbname)
- from openerp.addons.account.models.chart_template import migrate_tags_on_taxes
- migrate_tags_on_taxes(cr, registry)