コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
5021 ビュー

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?

アバター
破棄
最善の回答

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
8月 25
1525
1
5月 25
1236
2
5月 25
1355
0
4月 25
1107
1
3月 25
1590