diff options
| -rw-r--r-- | addons/l10n_nl/__openerp__.py | 2 | ||||
| -rw-r--r-- | addons/l10n_nl/migrations/2.0/post-migrate_tags_on_taxes.py | 7 | ||||
| -rw-r--r-- | addons/l10n_nl/migrations/2.0/pre-set_tags_and_taxes_updatable.py | 7 |
3 files changed, 15 insertions, 1 deletions
diff --git a/addons/l10n_nl/__openerp__.py b/addons/l10n_nl/__openerp__.py index d5c374cf8c5..1a5df633730 100644 --- a/addons/l10n_nl/__openerp__.py +++ b/addons/l10n_nl/__openerp__.py @@ -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. diff --git a/addons/l10n_nl/migrations/2.0/post-migrate_tags_on_taxes.py b/addons/l10n_nl/migrations/2.0/post-migrate_tags_on_taxes.py new file mode 100644 index 00000000000..a37770d2c1c --- /dev/null +++ b/addons/l10n_nl/migrations/2.0/post-migrate_tags_on_taxes.py @@ -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) diff --git a/addons/l10n_nl/migrations/2.0/pre-set_tags_and_taxes_updatable.py b/addons/l10n_nl/migrations/2.0/pre-set_tags_and_taxes_updatable.py new file mode 100644 index 00000000000..b9bdb2af7c5 --- /dev/null +++ b/addons/l10n_nl/migrations/2.0/pre-set_tags_and_taxes_updatable.py @@ -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') |
