i want to add one button in the messaing menu-> inbox. There is three buttons 'Mark as Todo', 'reply' and 'Done'. i want to add button, after the 'reply' button. how to do this?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Financeiro
- Inventário
- PoS
- Projeto
- MRP
Esta pergunta foi sinalizada
1
Responder
5318
Visualizações
In __openerp__.py,
add 'qweb': ['static/src/xml/YOUR_FILE_NAME.xml']
In YOUR_FILE_NAME.xml stored @ static/src/xml
<?xml version="1.0" encoding="UTF-8"?>
<templates id="template" xml:space="preserve">
<t t-extend="mail.thread.message">
<t t-jquery="span[class=oe_reply]" t-operation="before">
<span class='oe_YOUR_CLASS'><a title="YOUR TITLE" class="oe_e">*</a></span>
</t>
</t>
</templates>Está gostando da discussão? Não fique apenas lendo, participe!
Crie uma conta hoje mesmo para aproveitar os recursos exclusivos e interagir com nossa incrível comunidade!
Inscreva-se| Publicações relacionadas | Respostas | Visualizações | Atividade | |
|---|---|---|---|---|
|
|
1
dez. 25
|
471 | ||
|
|
0
nov. 25
|
603 | ||
|
|
1
out. 25
|
1263 | ||
|
|
2
out. 25
|
1259 | ||
|
|
3
set. 25
|
3215 |