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

How to remove "Log a note" from my custom module? I wan't only to too "Send a message" button.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

For Odoo 13

<?xml version="1.0" encoding="utf-8"?>
    <template >
        <t t-extend="mail.chatter.Buttons">
            <t t-jquery=".o_chatter_button_log_note" t-operation="replace"></t>
        </t>
</template>
อวตาร
ละทิ้ง

Good Answer!! how you indicate it, i solved my problem. Regards

คำตอบที่ดีที่สุด

You have to override the standard widget/template and remove it.. Refer template "mail.compose_message"..

Tips: Use Ctrl + H to perform search operation in entire odoo module, if you are using EDI tool such as eclipse, aptana studio etc....

อวตาร
ละทิ้ง