From cd0c245eae67d902bd94a77ad0da7a593e0af040 Mon Sep 17 00:00:00 2001 From: Barad Mahendra Date: Thu, 23 Jun 2022 05:14:53 +0000 Subject: [PATCH] [FIX] project: fix the portal chatter button's visibility Before this commit, Chatter in project sharing: the 'employees only' and 'visible' buttons are not toggled and both are visible at same time. So in this commit fixes the issue by making the 'employee only' and 'visible' button as toggle button same as portal chatter. task-2858336 closes odoo/odoo#99326 X-original-commit: eee722bb74db70a49ba88250afd0359c510e5ade Signed-off-by: Laurent Stukkens (ltu) --- .../static/src/scss/project_sharing/chatter.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/addons/project/static/src/scss/project_sharing/chatter.scss b/addons/project/static/src/scss/project_sharing/chatter.scss index c43b6c36040..9089bc0bb73 100644 --- a/addons/project/static/src/scss/project_sharing/chatter.scss +++ b/addons/project/static/src/scss/project_sharing/chatter.scss @@ -26,6 +26,18 @@ width: 45px; height: 45px; } + + .o_portal_message_internal_off { + .btn-danger { + display: none; + } + } + + .o_portal_message_internal_on { + .btn-success { + display: none; + } + } } &.o-aside {