Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
2 Odpovědi
4403 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Autor Nejlepší odpověď

It is working fine, thanks.

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
čvn 25
493
1
kvě 25
1201
0
úno 25
1206
1
lis 24
2058
0
říj 23
40