From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- .../l10n_sg/migrations/9.0.2.0/pre-set_tags_and_taxes_updatable.py | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 addons/l10n_sg/migrations/9.0.2.0/pre-set_tags_and_taxes_updatable.py (limited to 'addons/l10n_sg/migrations') diff --git a/addons/l10n_sg/migrations/9.0.2.0/pre-set_tags_and_taxes_updatable.py b/addons/l10n_sg/migrations/9.0.2.0/pre-set_tags_and_taxes_updatable.py new file mode 100644 index 00000000..8d963dba --- /dev/null +++ b/addons/l10n_sg/migrations/9.0.2.0/pre-set_tags_and_taxes_updatable.py @@ -0,0 +1,6 @@ +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_sg') -- cgit v1.2.3