From ccf743154df1a12ff60de78aa760ee880a31fc3f Mon Sep 17 00:00:00 2001 From: "Thomas Lefebvre (thle)" Date: Thu, 5 Oct 2023 10:03:39 +0200 Subject: [PATCH] [FIX] website_sale: avoid adding block in a ribbon Issue: ------ Using the website editor, we can add a content block to the ribbon (using drag and drop on the product image) on the shop page of ecommerce. Solution: --------- Make the ribbon non-editable so that it will not have the `o_editable` class added via the `editableElements` function of `WysiwygAdapterComponent`. opw-3515908 closes odoo/odoo#139993 X-original-commit: 712edead528c6db8b97a8957bcf7bb3c8005d14a Signed-off-by: Antoine Vandevenne (anv) Signed-off-by: Thomas Lefebvre (thle) --- addons/website_sale/views/templates.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_sale/views/templates.xml b/addons/website_sale/views/templates.xml index 4b74f13eba4..d5dd1fefdf4 100644 --- a/addons/website_sale/views/templates.xml +++ b/addons/website_sale/views/templates.xml @@ -199,7 +199,7 @@ - +