From 00e2afcbd8b801e55747e90dad456c3e2af46479 Mon Sep 17 00:00:00 2001 From: Florian Charlier Date: Wed, 4 Jan 2023 17:02:55 +0000 Subject: [PATCH] [FIX] website_slides: add id and hint to oe_structures In these two cases, adding and id (and editor message when it is visible) enables 1/ to retain customizations when the view is updated 2/ to better signal that the section on slides is not meant to be customizable per-record. In particular, it was not clear that adding a block above a slide content would make it visible on all slides. We therefore add this hint there, and not in other places where that scope is obvious or where it isn't shown even if added, or where it causes crashes (above covers). Task-3120276 opw-3106887 closes odoo/odoo#111445 X-original-commit: 24977381fc54e258fa05724a9aa69c72656ece9c Signed-off-by: Thibault Delavallee (tde) --- .../website_slides/views/website_slides_templates_homepage.xml | 2 +- .../website_slides/views/website_slides_templates_lesson.xml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/addons/website_slides/views/website_slides_templates_homepage.xml b/addons/website_slides/views/website_slides_templates_homepage.xml index c50d19b724b..4b647aa7cb1 100644 --- a/addons/website_slides/views/website_slides_templates_homepage.xml +++ b/addons/website_slides/views/website_slides_templates_homepage.xml @@ -324,7 +324,7 @@ diff --git a/addons/website_slides/views/website_slides_templates_lesson.xml b/addons/website_slides/views/website_slides_templates_lesson.xml index d8c904c28e9..f6bf4f2893b 100644 --- a/addons/website_slides/views/website_slides_templates_lesson.xml +++ b/addons/website_slides/views/website_slides_templates_lesson.xml @@ -294,7 +294,8 @@ -
+