[IMP] l10n_nl: Added pre and post migration file
This commit is contained in:
@@ -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')
|
||||
Reference in New Issue
Block a user