İçereği Atla
Menü
Bu soru işaretlendi
2 Cevaplar
4393 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
Üretici En İyi Yanıt

It is working fine, thanks.

Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
0
Haz 25
471
1
May 25
1167
0
Şub 25
1184
1
Kas 24
2021
0
Eki 23
40