Needaction counters in main menu

by ,
Odoo
v 8.0 v 10.0 Third Party 317
Download for v 8.0
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Social Network (mail)
Technical Name web_menu_navbar_needaction
LicenseAGPL-3
Versions 10.0 8.0
You bought this module and need support? Click here!

Needaction counters in main menu

This module shows the sum of all submenus' needaction counters in main menus. This way, users get visual feedback where there's still work to do without having to open the respective menu beforehand.

The counters are updated periodically, so users will also be notified if there are new records that require attention.

Configuration

To configure the update frequency, set the configuration parameter web_menu_navbar_needaction.refresh_timeout to the amount of milliseconds after which the counters should be updated. Don't do this too often, as this will cause a lot of queries to the database. The default it 600000, which is equivalent to 10 minutes.

To disable updates, set the parameter to 0.

For more fine-grained control over the menus, you can turn off needaction for a menu by setting its field needaction to False, or in case you need a different needaction domain, set needaction_domain on the menuitem to the domain you need. A side effect of this is that you can use this addon to add needaction capabilities to any model, independent of it implementing the respective mixin by simply filling in your domain there.

Usage

Try me on Runbot

For further information, please visit:

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us smashing it by providing a detailed and welcomed feedback here.

Credits

Contributors

Maintainer

Odoo Community Association

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose mission is to support the collaborative development of Odoo features and promote its widespread use.

To contribute to this module, please visit http://odoo-community.org.

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.
Counter as a counter is excellent but .....
by
Robert Amberwitch
on 9/9/15, 6:49 AM

I don't like the refresh time which is either set too long or it just doesn't? I can't see any action after specified time and i think it would be very nice to have that thing if will it indicate how many ... things I have at this time LIVE. Tried to change a bit refresh rate but it still not work as I expected. Will it be changed in the future?


by
Lara
on 9/9/15, 11:52 AM

Hello Robert, Did you refresh (F5) the webclient after you updated the parameter? We don't have an implementation planned in the near future to add live functionality to this module. If your problem still occurs you can create an issue at https://github.com/OCA/web/issues . With kind regard, Lara