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.
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
This question has been flagged
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. :)
Pleasure to help.