Odoo Help

Welcome!

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.

0

How to show bubble notification on menuitem?

By
Shahriar Siddik
on 12/28/14, 2:02 AM 956 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.

0
Buddhima
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

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)

Stats

Asked: 12/28/14, 2:02 AM
Seen: 956 times
Last updated: 9/25/15, 2:39 AM