From 9e957e11e65383451272e1047ef9fd06f65cdada Mon Sep 17 00:00:00 2001 From: Florian Damhaut Date: Thu, 3 Nov 2022 09:52:37 +0000 Subject: [PATCH] [FIX] mail: only hide rating in chatter and not in message MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit o_mail_notification should only be hidden when seen from the chatter. At the moment, the notification is hidden everywhere in odoo and after this PR the notification are only hidden in the chatter opw-2720840 closes odoo/odoo#105075 X-original-commit: abddcf8bd4b0ba3d8d45ed1ba4e26c3e112b8edb Signed-off-by: Alexandre Kühn (aku) --- addons/mail/static/src/components/message/message.scss | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addons/mail/static/src/components/message/message.scss b/addons/mail/static/src/components/message/message.scss index ed7de25a110..4a6db5101e1 100644 --- a/addons/mail/static/src/components/message/message.scss +++ b/addons/mail/static/src/components/message/message.scss @@ -86,8 +86,6 @@ } // Used to hide buttons on rating emails in chatter -// FIXME: should use a better approach for not having such buttons -// in chatter of such messages, but keep having them in emails. -.o_MessageView_content [summary~="o_mail_notification"] { +.o_Chatter .o_MessageView_content [summary~="o_mail_notification"] { display: none; }