Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
5025 Visninger

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?

Avatar
Kassér
Bedste svar

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>


Avatar
Kassér
Related Posts Besvarelser Visninger Aktivitet
1
aug. 25
1527
1
maj 25
1237
2
maj 25
1357
0
apr. 25
1108
1
mar. 25
1595