Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
2 Antwoorden
4406 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Auteur Beste antwoord

It is working fine, thanks.

Avatar
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
jun. 25
497
1
mei 25
1204
0
feb. 25
1209
1
nov. 24
2058
0
okt. 23
40