[FIX] mail: only hide rating in chatter and not in message

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) <aku@odoo.com>
This commit is contained in:
Florian Damhaut
2022-11-04 23:37:58 +01:00
committed by Alexandre Kühn
parent a961a52f88
commit 9e957e11e6
@@ -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;
}