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:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- 项目
- MRP
此问题已终结
1
回复
5301
查看
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>| 相关帖文 | 回复 | 查看 | 活动 | |
|---|---|---|---|---|
|
|
1
12月 25
|
447 | ||
|
|
0
11月 25
|
603 | ||
|
|
1
10月 25
|
1239 | ||
|
|
2
10月 25
|
1249 | ||
|
|
3
9月 25
|
3201 |