[IMP] l10n_nl: Added pre and post migration file

This commit is contained in:
sha-odoo
2016-03-23 14:54:25 +01:00
committed by pvy
parent 1c92a88003
commit b253c3323e
3 changed files with 15 additions and 1 deletions
+1 -1
View File
@@ -65,7 +65,7 @@
{
'name' : 'Netherlands - Accounting',
'version' : '1.5',
'version' : '2.0',
'category': 'Localization/Account Charts',
'description': """
This is the module to manage the accounting chart for Netherlands in OpenERP.
@@ -0,0 +1,7 @@
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)
@@ -0,0 +1,7 @@
from openerp.modules.registry import RegistryManager
def migrate(cr, version):
registry = RegistryManager.get(cr.dbname)
from openerp.addons.account.models.chart_template import migrate_set_tags_and_taxes_updatable
migrate_set_tags_and_taxes_updatable(cr, registry, 'l10n_nl')