Skip to main content

Show the sum of submenus' needaction counters in main menu

Project description

License: AGPL-3

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

File details

Details for the file odoo8_addon_web_menu_navbar_needaction-8.0.1.0.0.99.dev10-py2-none-any.whl.

File metadata

File hashes

Hashes for odoo8_addon_web_menu_navbar_needaction-8.0.1.0.0.99.dev10-py2-none-any.whl
Algorithm Hash digest
SHA256 a0c35d7e1f52d856c7a5b3e0e625c8f21c826b65e25550af237a8ba241709952
MD5 a2ca8fcbb131e1aa4add56e586a65431
BLAKE2b-256 d353752c9119b3c1db0696fddffd8a1533dad2ed90efdd73a08d8df80dc0bd93

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page