diff --git a/base_location/migrations/12.0.1.0.0/post-migration.py b/base_location/migrations/12.0.1.0.0/post-migration.py index 3f8ba212a..aee54faf0 100644 --- a/base_location/migrations/12.0.1.0.0/post-migration.py +++ b/base_location/migrations/12.0.1.0.0/post-migration.py @@ -9,6 +9,7 @@ from openupgradelib import openupgrade def migrate(env, version): column_name = openupgrade.get_legacy_name('better_zip_id') openupgrade.logged_query( + env.cr, "ALTER TABLE res_city_zip ADD %s INTEGER", (AsIs(column_name), ), ) openupgrade.logged_query(