From 5de18b8cab5cc49914b3eefa8294e9c71198118f Mon Sep 17 00:00:00 2001 From: Benoit Socias Date: Mon, 7 Aug 2023 13:08:16 +0000 Subject: [PATCH] [FIX] website_blog: prevent edition of blog social media links Steps to reproduce: - Go to `/blog`. - Enable "Show Sidebar" in the "Customize" menu. - Edit the page. - Click on an icon of the "Follow Us" section of the sidebar. - Click on the "Link" icon of the editor toolbar. => An error popup appears. In further versions, the link parameters can be edited - but they are lost upon save. The social media links sections of the blog and blog post pages is generated and is not supposed to be editable. This commits makes these social media links sections non editable. If a user needs to configure such a content specifically, it can be done inside the "About Us" section of the sidebar above. E.g.: - Deactivate the "Follow Us" section from the "Customize" menu. - You can use copy/paste to duplicate the existing style of the "About Us" section if you want. - Click on the "File / Image" icon of the editor toolbar (or type "/image" to use the Power Box as of 15.0). - Select a pictogram. - Click on the "Shape: Circle" icon of the editor toolbar. - Select the "Font Color" from the editor toolbar. - Click on the "Link" icon of the editor toolbar to specify an URL. opw-3450880 closes odoo/odoo#135980 X-original-commit: 27d8633c73106b7278eda7d07c9fce370d29784a Signed-off-by: Romain Derie (rde) Signed-off-by: Benoit Socias (bso) --- addons/website_blog/views/website_blog_components.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/website_blog/views/website_blog_components.xml b/addons/website_blog/views/website_blog_components.xml index 8c63716d33e..02d6dae0cbf 100644 --- a/addons/website_blog/views/website_blog_components.xml +++ b/addons/website_blog/views/website_blog_components.xml @@ -128,7 +128,7 @@ Options:
Follow Us
-