Skip to content

Commit

Permalink
[FIX] website: Fix xmlid issue in website upgrade script.
Browse files Browse the repository at this point in the history
  • Loading branch information
ddejong-therp committed Mar 25, 2024
1 parent 5cb76b4 commit 75d8df1
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions openupgrade_scripts/scripts/website/16.0.1.0/pre-migration.py
Original file line number Diff line number Diff line change
Expand Up @@ -133,3 +133,11 @@ def migrate(env, version):
delete_constraint_website_visitor_partner_uniq(env)
_fill_homepage_url(env)
_mig_s_progress_steps_contents(env)

# XMLID website_configurator will be re-used for something else
openupgrade.logged_query(
env.cr,
"""
DELETE FROM ir_model_data WHERE module = 'website' AND name = 'website_configurator'
""",
)

0 comments on commit 75d8df1

Please sign in to comment.