From fd57dd5713b5a8af68f5fac0c50f058681da0880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thibault=20Delavall=C3=A9e?= Date: Tue, 12 Jan 2016 13:14:01 +0100 Subject: [PATCH] [IMP] mail: chatter: hide notification buttons Using some templates it is possible to have odoo buttons directly in the mail_message body. Hide them in the chatter as this is more noisy than usefull. --- addons/mail/static/src/less/thread.less | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/addons/mail/static/src/less/thread.less b/addons/mail/static/src/less/thread.less index f2971dcf17e..e523e6ffe2d 100644 --- a/addons/mail/static/src/less/thread.less +++ b/addons/mail/static/src/less/thread.less @@ -111,6 +111,10 @@ color: gray; } + [summary~=o_mail_notification] { // name conflicts with channel notifications, but is odoo notification buttons to hide in chatter if present + display: none; + } + > p { margin: 0 0 9px; // Required by the old design to override a general rule on p's &:last-child {