Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
4394 Widoki

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).

Awatar
Odrzuć
Najlepsza odpowiedź

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>

Awatar
Odrzuć
Autor Najlepsza odpowiedź

It is working fine, thanks.

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
cze 25
473
1
maj 25
1168
0
lut 25
1185
1
lis 24
2024
0
paź 23
40