Odoo Help


How to show bubble notification on menuitem?

Shahriar Siddik
on 12/28/14, 2:02 AM 1,429 views

For an workflow, How to enable a notification bubble with number on menu item?

Ex: In the Human Resource>Leave Requests to Approve menu, when a subordinate applies for leave, the manager can see the number of notifications he has to approve.

On 9/25/15, 2:36 AM

Its easy. You'll find " def _needaction_domain_get(self, cr, uid, context=None):" in odoo/addons/hr_holidays/hr_holidays.py. It inherit from 'ir.needaction_mixin'.
There you have to to return a domain and the number of records filtered will be display in a bubble

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: 12/28/14, 2:02 AM
Seen: 1429 times
Last updated: 9/25/15, 2:39 AM