How to remove "Log a note" from my custom module? I wan't only to too "Send a message" button.
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Comptabilité
- Inventaire
- PoS
- Project
- MRP
Cette question a été signalée
2
Réponses
6205
Vues
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....
Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !
Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !
S'inscrire