Odoo Help


This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


how to add button in mail module?

Demirel yakito
on 4/15/15, 1:10 AM 516 views

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?


Atchuthan - Technical Consultant, Sodexis Inc

--Atchuthan - Technical Consultant, Sodexis Inc--
| 5 3 8
Puducherry, India
--Atchuthan - Technical Consultant, Sodexis Inc--
Passionate coder in Python/Odoo(formerly known as OpenERP).

Contact me via GMail: atchuthantu@gmail.com via Skype: atchuthan_skype
via Linkedin: http://in.linkedin.com/in/atchuthantu
Atchuthan - Technical Consultant, Sodexis Inc
On 4/15/15, 1:37 AM

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>

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)


Asked: 4/15/15, 1:10 AM
Seen: 516 times
Last updated: 4/15/15, 1:37 AM