Skip to Content
Menu

Showing a menu badge in Odoo

by
Odoo
v 11.0 Third Party 216
Download for v 11.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 140
Technical Name badge_menu
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 140
Technical Name badge_menu

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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
There are no ratings yet!
demo needed
by
Fathony Luthfillah
on 7/28/18, 1:30 PM

is there a way to prove that this module is working? I have installed module 'project' and nothing happens