diff --git a/base_location_geonames_import/__manifest__.py b/base_location_geonames_import/__manifest__.py index cf7efe102f6..b3583f5e093 100644 --- a/base_location_geonames_import/__manifest__.py +++ b/base_location_geonames_import/__manifest__.py @@ -7,7 +7,7 @@ { "name": "Base Location Geonames Import", - "version": "14.0.1.0.1", + "version": "14.0.1.0.2", "category": "Partner Management", "license": "AGPL-3", "summary": "Import zip entries from Geonames", diff --git a/base_location_geonames_import/migrations/10.0.1.0.0/noupdate_changes.xml b/base_location_geonames_import/migrations/10.0.1.0.0/noupdate_changes.xml new file mode 100644 index 00000000000..78a41cb0853 --- /dev/null +++ b/base_location_geonames_import/migrations/10.0.1.0.0/noupdate_changes.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/base_location_geonames_import/migrations/10.0.1.0.0/post-migration.py b/base_location_geonames_import/migrations/10.0.1.0.0/post-migration.py new file mode 100644 index 00000000000..3edf21a996b --- /dev/null +++ b/base_location_geonames_import/migrations/10.0.1.0.0/post-migration.py @@ -0,0 +1,12 @@ +# Copyright 2020 Tecnativa - Pedro M. Baeza +# 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, "base_location_geonames_import", + "migrations/10.0.1.0.0/noupdate_changes.xml" + )