Files
web/web_disable_export_group/migrations/14.0.1.1.0/pre-migration.py
Pedro M. Baeza fde0e9882b [OU-FIX] web_disable_export_group: Proper migration scripts
The previous adaptation was not correct due to:

- The old XML-ID is already missing on post stage.
- There's now only one group, so no need of all the imply + group
  assignation stuff like in previous version.
2023-06-16 12:46:24 +02:00

15 lines
322 B
Python

from openupgradelib import openupgrade
@openupgrade.migrate()
def migrate(env, version):
openupgrade.rename_xmlids(
env.cr,
[
(
"web_disable_export_group.group_export_data",
"web_disable_export_group.group_export_xlsx_data",
)
],
)