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
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
4798
Views
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>
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Apr 25
|
304 | ||
|
0
Apr 25
|
373 | ||
|
1
Apr 25
|
553 | ||
|
1
Mar 25
|
568 | ||
|
3
Feb 25
|
593 |