From 75d8df14ce1c90309f1bde690957132bdebb1611 Mon Sep 17 00:00:00 2001 From: Danny de Jong Date: Mon, 25 Mar 2024 20:57:53 +0100 Subject: [PATCH] [FIX] website: Fix xmlid issue in website upgrade script. --- .../scripts/website/16.0.1.0/pre-migration.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/openupgrade_scripts/scripts/website/16.0.1.0/pre-migration.py b/openupgrade_scripts/scripts/website/16.0.1.0/pre-migration.py index 138b8f686a01..040c6ec72afa 100644 --- a/openupgrade_scripts/scripts/website/16.0.1.0/pre-migration.py +++ b/openupgrade_scripts/scripts/website/16.0.1.0/pre-migration.py @@ -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' + """, + )