mirror of
https://github.com/OCA/web.git
synced 2025-02-22 13:21:25 +02:00
[OU] web_disable_export_group: Fix when migration happened on 13.0
This commit is contained in:
@@ -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,
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user