Skip to Content
Menú
This question has been flagged
2 Respostes
4397 Vistes

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
Descartar
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
Descartar
Autor Best Answer

It is working fine, thanks.

Avatar
Descartar
Related Posts Respostes Vistes Activitat
0
de juny 25
484
1
de maig 25
1178
0
de febr. 25
1201
1
de nov. 24
2049
0
d’oct. 23
40