Base Menu Visibility Restriction
This addon lets you assign "excluded groups" to menu items. If a user belongs to a group that is assigned to a menu item as an excluded group, the user will not be able to see the menu item.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Lets administrators hide specific menu items from chosen user groups by adding "Excluded Groups" to each menu, so users in those groups no longer see the menu.
This module adds a new field called Excluded Groups to every menu item in Odoo. Administrators can open a menu's access settings and, next to the existing allowed groups, pick one or more user groups that should NOT see that menu.
When Odoo builds the list of menus a user can see, it now also removes any menu whose Excluded Groups include a group the user belongs to. This happens automatically every time menus are loaded, so the restriction applies immediately without extra configuration.
- Where it appears: the menu access editing screen (the same screen used to set which groups can see a menu), where a new multi-select field for excluded groups is shown.
- Business rule: if a user is in any group listed as excluded for a menu, that menu is hidden from them, even if other settings would normally show it.
- Scope: it affects the
ir.ui.menumodel and therefore all menus across Odoo.
No new menus, reports, emails or scheduled actions are added. The module only changes how menu visibility is calculated and adds the configuration field.
Depends on
Models and fields (1)
- ir.ui.menu · extends an existing modelexcluded_group_ids (Excluded Groups)
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 7 confirmed, 2 with no information of 9 versions.
Sources · Odoo 17.0
Confirmed on 2026-11-03 in branch 17.0 of OCA/server-ux.
terminal Installation and usage
OCA documentation · Odoo 19.0Usage
Source · Odoo 19.0To use this module, you need to:
- Activate the developer mode
- Go to Settings \> Technical \> User interface \> Menu Items.
- Search for any menu and edit it.
- Update "Excluded groups" with one group.
- Login with a user of that group, and you won't see such menu.
You can try with demo data for the menu Apps \> App Store and user demo.
No verified information in OCA: Installation, Configuration.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.