From 378fe2c3508983c557f3365debfd5e0d74486ef9 Mon Sep 17 00:00:00 2001 From: "Louis (loco)" Date: Thu, 8 Dec 2022 08:20:06 +0000 Subject: [PATCH] [FIX] website: enable the use of the save option only on snippets Steps to reproduce the bug: - Add a "Table of Content" on the website. - Try to save a "Block" of the table. - 14.0: you get an error message. - 15.0: it keeps loading forever. - 16.0: you get a white page. Users should not have the possibility to save part of a snippet. The goal of this commit is to ensure that the save option applies on a snippet. If it is the case, the user has the possibility to save it. If not, the user does not have the opportunity to save it. opw-3056913 closes odoo/odoo#108002 X-original-commit: 5f28c7d9a04c46d570b13766eaaa90e755008623 Signed-off-by: Quentin Smetz (qsm) --- addons/website/views/snippets/snippets.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website/views/snippets/snippets.xml b/addons/website/views/snippets/snippets.xml index 0cb13b047de..d90c7ec71e3 100644 --- a/addons/website/views/snippets/snippets.xml +++ b/addons/website/views/snippets/snippets.xml @@ -644,7 +644,7 @@ data-drop-in=".content, nav"/>