Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5271 มุมมอง

Is there have any easy way to hide the mail_thread top button where the Qweb views  in : mail/static/src/xml/chatter.xml

I know that widget is different that i cannot edit views through backend management "views menu"

I need to add a module to override it, and i don't know how to make it...

maybe just hide the button or add a rule restriction for this button(even better)

the code in qweb template shows below:


<t t-name="mail.Chatter"> <div class="o_chatter"> <div class="o_chatter_topbar">

----------------Try to Hide the button below--------------

<button type="button" class="btn btn-sm btn-primary o_chatter_button_new_message" title="Send a message"> New message </button> 

-----------------Try to Hide the button up------------------

<button t-if="widget.options.display_log_button" class="btn btn-sm btn-link o_chatter_button_log_note" title="Log a note. Followers will not be notified."> Log an internal note </button> </div> </div> </t> 



Thx for any help and suggestion~~

อวตาร
ละทิ้ง

Hi, would be interested by any solution you find from that time :)

Related Posts ตอบกลับ มุมมอง กิจกรรม
0
มิ.ย. 25
610
1
พ.ค. 25
1408
0
ม.ค. 21
2450
0
ก.พ. 16
4394
How to manage inbox, to-od, to-me odoo8 แก้ไขแล้ว
1
ก.พ. 16
3748