diff --git a/intrastat_product/__manifest__.py b/intrastat_product/__manifest__.py index db8b18d..6abbcb4 100644 --- a/intrastat_product/__manifest__.py +++ b/intrastat_product/__manifest__.py @@ -7,7 +7,7 @@ { "name": "Intrastat Product", - "version": "13.0.1.0.2", + "version": "13.0.1.0.3", "category": "Intrastat", "license": "AGPL-3", "summary": "Base module for Intrastat Product", diff --git a/intrastat_product/migrations/13.0.1.0.3/noupdate_changes.xml b/intrastat_product/migrations/13.0.1.0.3/noupdate_changes.xml new file mode 100644 index 0000000..2b3316d --- /dev/null +++ b/intrastat_product/migrations/13.0.1.0.3/noupdate_changes.xml @@ -0,0 +1,18 @@ + + + + ['|', ('company_id', '=', False), ('company_id', 'in', company_ids)] + + + ['|', ('company_id', '=', False), ('company_id', 'in', company_ids)] + + + ['|', ('company_id', '=', False), ('company_id', 'in', company_ids)] + + diff --git a/intrastat_product/migrations/13.0.1.0.3/post-migration.py b/intrastat_product/migrations/13.0.1.0.3/post-migration.py new file mode 100644 index 0000000..9264a91 --- /dev/null +++ b/intrastat_product/migrations/13.0.1.0.3/post-migration.py @@ -0,0 +1,10 @@ +# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html). + +from openupgradelib import openupgrade # pylint: disable=W7936 + + +@openupgrade.migrate() +def migrate(env, version): + openupgrade.load_data( + env.cr, "intrastat_product", "migrations/13.0.1.0.3/noupdate_changes.xml" + )