Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
2 Replies
4399 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Penulis Jawaban Terbai

It is working fine, thanks.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Jun 25
487
1
Mei 25
1194
0
Feb 25
1202
1
Nov 24
2054
0
Okt 23
40