From d9af188bb4e9b8a1a6fb7c10d0a1fb5c1e114fa6 Mon Sep 17 00:00:00 2001 From: mega Date: Thu, 10 Oct 2024 12:59:29 +0000 Subject: [PATCH] [FIX] theme_odoo_experts: remove unused configurator snippets Currently, an error occurs while importing an 'Experts' theme template. Steps to produce: - Install the 'website' module. - Build one website, try to switch its theme to the 'Experts' theme. ValueError: External ID not found in the system: website.configurator_s_picture When switching a website theme to the 'Experts' theme, an error occurs during importing their XML definition because their parent template does not exist. To resolve this issue we can remove this template. Indeed, that configurator snippet override was not needed anymore since the 'Experts' theme was not using that specific snippet for their configurator pages anymore. The error went unnoticed because on runbot all themes are installed, and at least one of them was using that specific snippet in a configurator page. This will be improved. See [1] with the same kind of issue. [1]: https://github.com/odoo/design-themes/commit/aed6d0585be5c646e1c3cade419c706dc154efaf Sentry-5962594281 closes odoo/design-themes#990 X-original-commit: 6336bbddf680862971e69433977f1495ec1b107e Signed-off-by: Quentin Smetz (qsm) --- theme_odoo_experts/views/snippets/s_picture.xml | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/theme_odoo_experts/views/snippets/s_picture.xml b/theme_odoo_experts/views/snippets/s_picture.xml index 30aa4968b2..c906e1106b 100644 --- a/theme_odoo_experts/views/snippets/s_picture.xml +++ b/theme_odoo_experts/views/snippets/s_picture.xml @@ -44,15 +44,4 @@ - -