3
0
Fork 0

[OU] web_disable_export_group: Fix when migration happened on 13.0

15.0-ocabot-merge-pr-2789-by-pedrobaeza-bump-patch
Enric Tobella 2022-11-22 16:37:35 +01:00 committed by David
parent fde0e9882b
commit 35a31d42d8
1 changed files with 11 additions and 9 deletions

View File

@ -3,6 +3,8 @@ from openupgradelib import openupgrade
@openupgrade.migrate()
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(
env.cr,
[