Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
Hello. At the right top of the page there is a mail button with a picture of a letter.
My question: how to add in my custom module a similar button with image at this bar.
You need to add it when the instance.web.UserMenu's do_update is executed in the javacript UI to a div which has "oe_systray" class. Basically build a new widget and then include it there. The ComposeMessageTopButton is included in odoo/addons/mail/static/src/js/mail.js. You can study the mechanism from that file.
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 1/26/15, 9:19 AM|
|Seen: 1443 times|
|Last updated: 7/3/15, 5:23 AM|