Skip to Content
Menu
This question has been flagged
2 Replies
4396 Views

How can I block "compose new message" for all users? It is a pop up windows coming out after clicking on the mail icon on the top-right (next to the username).

Avatar
Discard
Best Answer

The below code to hide icon "compose new message" all users including admin.

File Path: addons\mail\static\src\xml\mail.xml

The below mail template uncomment the div tab

   <t t-name="mail.ComposeMessageTopButton">
       <!-- <div title='Compose new Message' class="oe_topbar_item oe_topbar_compose_full_email">
            <button class="oe_e">%</button>
        </div> -->
    </t>

Avatar
Discard
Author Best Answer

It is working fine, thanks.

Avatar
Discard
Related Posts Replies Views Activity
0
Jun 25
483
1
May 25
1174
0
Feb 25
1201
1
Nov 24
2045
0
Oct 23
40