3
0
Fork 0

[OU] web_disable_export_group: Fix when migration happened on 13.0

14.0
Enric Tobella 2022-11-22 16:37:35 +01:00
parent c87e9c5084
commit 964bc4d511
1 changed files with 11 additions and 9 deletions

View File

@ -3,6 +3,8 @@ from openupgradelib import openupgrade
@openupgrade.migrate() @openupgrade.migrate()
def migrate(env, version): def migrate(env, version):
# Otherwise, the migration already happened on 13.0
if not env.ref("web_disable_export_group.group_export_xlsx_data", False):
openupgrade.rename_xmlids( openupgrade.rename_xmlids(
env.cr, env.cr,
[ [