Odoo Help


How does menu prompt notification work?

Anirudh Lou
on 1/28/15, 4:20 AM 1,057 views

Hello to all. Anyone can help me how to put notification on menu just like the image below? And can any one explain how does it works? Any help is much appreciated.




| 5 3 6
Jakarta, Indonesia
On 1/28/15, 5:07 AM

If I'm not mistaken it is part of the 'ir.needaction_mixin' feature.  You need to inherit from 'ir.needaction_mixin', then you the method _needaction_domain_get for that model that returns the domain that will be used to count the number of records.

Not many models implement this.  One of the example (which you pointed out as well) is mail.message: odoo/addons/mail/mail_message.py

Oh thanks sir for the response. At last i was able to put notification on the menu. Thanks again for the help. :)

Anirudh Lou
on 1/29/15, 12:37 AM

Pleasure to help.

on 1/29/15, 1:40 AM

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.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 1/28/15, 4:20 AM
Seen: 1057 times
Last updated: 3/16/15, 8:10 AM