Showing a menu badge in Odoo
odoo 11

Step 1: Configure your model
_inherit = ['ir.needaction_mixin']
Step 2: Add function.
@api.model
def _needaction_domain_get(self):
return False
@api.model
def _needaction_count(self, domain=None):
return self.search_count(domain)
Please log in to comment on this module
Report comment
Any abuse of this reporting system will be penalizedThere are no ratings yet!
demo needed
is there a way to prove that this module is working? I have installed module 'project' and nothing happens