From 3ec0b4190376b4a5233abb93dfd0ca101746cc76 Mon Sep 17 00:00:00 2001 From: Priyanka Kakadiya Date: Fri, 27 Sep 2019 10:42:34 +0000 Subject: [IMP] website_forum: show share buttons only on validated question MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Before this commit: when a user asks a question on a forum, share buttons are always showing even if question is validated or not and hence it will lead to 404 error. After this commit: when a user asks a question on a forum, share buttons will only show after a question is validated. task-2064874 closes odoo/odoo#37505 Signed-off-by: Jérémy Kersten (jke) --- addons/website_forum/static/src/xml/website_forum_share_templates.xml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'addons/website_forum/static/src/xml') diff --git a/addons/website_forum/static/src/xml/website_forum_share_templates.xml b/addons/website_forum/static/src/xml/website_forum_share_templates.xml index 205b05d9011..e1ef8d75194 100644 --- a/addons/website_forum/static/src/xml/website_forum_share_templates.xml +++ b/addons/website_forum/static/src/xml/website_forum_share_templates.xml @@ -13,7 +13,7 @@ -