Hide menus by user and group, with preview and audit
Give each person only the menus they need. See the result for any user before they log in, and keep a record of every change. Free, works on Community.
Hide by user or groupPreview as userAudit trail
Need more control? Upgrade to Access Management
Hide more than menus. Explore the full specifications of our paid app on its own page.
Everything this free app does, plus buttons, tabs, fields, reports and chatter, read-only users, record access by domain, sign-in rules and server-side enforcement.
From cluttered menus to just what each person needs
A clerk who only quotes does not need Inventory, Invoicing and a dozen configuration menus.
Before
- Every user sees every app they have any right to
- New colleagues ask where things are
- Tidying menus means editing menu records by hand
- No record of who changed what
After
- One rule hides the clutter for a user or a whole group
- A preview shows the exact menu before anyone logs in
- Rules copy, duplicate and move between databases
- Every change is logged with who and when
What you get
Rules per user or group
Pick users, groups or both, then the menus they should not see. A person is affected if they are in the rule's users or in any of its groups. Several rules add up.
Searchable menu picker
Choose menus from a list that shows the full path, for example Sales / Orders / Quotations, with search by name or parent.
Sub-menus follow the parent
Hide a parent and its whole subtree goes with it. Switch the option off to hide only the entries you picked. Apps left empty are tidied away too.
Preview as user
Pick any user and see the effective menu tree split into visible and hidden, with the rule behind every hidden entry. No test login needed.
Audit trail
Rules keep a chatter history. A read-only log records who created, changed, imported, copied or deleted a rule, what changed and when.
Copy rules
Give a new colleague the same tidy menu: copy the rules of a user or of a group to one or many users in one step.
JSON export and import
Move rules between databases. Menus and groups travel by external id, users by login. A dry run lists what would be created, updated or skipped.
Duplicate and filter
Duplicate a rule in one click. Search and filter rules by menu, user or group to answer who can see what.
Count on the user form
A Hidden menus button on every user shows how many entries are hidden for that person and opens the list.
Lock-out protection
Administrators keep every menu by default, and the app's own menus can never be hidden from the people who manage them.
Optional direct-URL guard
Turn on a setting and opening an action that only lives in hidden menus shows a friendly message instead of the page. Off by default.
Roles and companies
Hide Menus User can read rules and preview. Hide Menus Manager edits rules, imports and exports. Rules can be limited to one company.
See it working
A fictional sales clerk and a warehouse user, with rules that hide different menus.
Create a rule
Name it, choose who is affected and which menus to hide. The change log tab and the chatter record every edit.

Pick menus from a searchable list
Each entry shows its full path. Search by menu name or by parent menu.

Preview as user
Check the result before the person logs in. Hidden entries come first, each with the rule that hides it.

What the sales clerk sees
The Sales app shows Orders, To Invoice and Products only. Invoicing and Inventory are gone from the apps menu.

What the administrator sees
The same page for an administrator: Reporting, Configuration and every app are still there.

Audit log
Who changed which rule, what changed and when. Deleted rules stay in the log by name.

Import and export
Export rules to a JSON file, then run a dry run on another database before importing.

Settings
Keep administrators protected, and optionally block hidden menus opened by direct URL.

Good to know
Hiding menus is not access control
This app makes the interface tidier. It does not replace access rights, groups or record rules. Someone who is allowed to read a model can still reach it by other routes, such as a saved link, a search or a related record. Keep using Odoo's security for anything that must stay private.
Safe by design
- Administrators are never affected unless you turn the protection off, and even then Users & Companies and General Settings stay visible
- The app's own menus cannot be hidden from the people who manage them
- Standard menu records are never edited or deleted
- Hidden menus are computed once per user and cached, and the cache is refreshed when rules or group membership change
Questions
Does hiding a menu protect the data?
No. Hiding menus is a usability and tidiness feature. A person who knows a link, or who is allowed to read a model, is not blocked from it by a hidden menu. Use groups, access rights and record rules to control who can read or change data. The optional direct-URL guard only adds a friendly message when someone opens an action that exists only in hidden menus; it is not a security boundary.
Does it work on Odoo Community?
Yes. It needs only Discuss, which every database has. No Enterprise app is required.
Where are the menus hidden?
In the menu data the web client receives: the apps menu, the top menu and the sub menus, in normal and in developer mode. Nothing in the standard menus is changed or deleted, so removing a rule brings the menu back at once.
Do changes need a restart or a new login?
No restart. The hidden set is cached per user and refreshed when rules, group membership or settings change. The person sees the new menu the next time the page is loaded.
Can I lock myself out?
No. By default administrators are never affected. If you turn that setting off, Users & Companies, General Settings and this app's own menus are still protected. Members of the Hide Menus roles always keep this app's menus.
What does "Hide sub-menus too" do when switched off?
Only the entries you picked are hidden. Entries below a hidden menu cannot be reached from the menu bar anyway, but they are not counted as hidden and the direct-URL guard does not block them.
Which users does a rule affect in a multi-company database?
A rule with a company applies to users who are allowed to work in that company. A rule without a company applies everywhere. Rules of other companies are not visible to you.
How are rules matched when I import them?
By name and company. Existing rules are updated, new ones are created. Anything that cannot be found in the target database (a menu, group, user or company) is reported in the dry run and skipped; nothing is half imported.
Can I hide a menu for everyone?
Create a rule for the Internal User group. Administrators stay unaffected unless you turn that protection off.
Free vs Pro
Both apps can be installed together; Pro also hides menus, so you only need Pro if you want the extra restrictions.
| Feature | Free | Pro |
|---|---|---|
| Hide menus by user or group, with sub-menus | โ | โ |
| Preview as user | โ | โ |
| Audit trail of rule changes | โ | โ |
| Copy and duplicate rules | โ | โ |
| JSON export and import with dry run | โ | โ |
| Limit rules to a company | โ | โ |
| Optional friendly message on hidden-menu URLs | โ | โ |
| Exception users and groups, validity dates | โ | โ |
| Hide New, Edit, Delete, Duplicate, Archive, Import and Export per model | โ | โ |
| Hide Print and Action menus, or single reports and actions | โ | โ |
| Hide fields, make them read-only, remove them from lists and exports | โ | โ |
| Hide chatter parts (Send message, Log note, Activities, Followers) | โ | โ |
| Hide buttons by technical name | โ | โ |
| Server-side enforcement of create, edit, delete and more (closes API and URL bypass) | โ | โ |
| Log of denied attempts | โ | โ |
| Ready-made rule templates | โ | โ |
| Safe-mode switch that turns every rule off | โ | โ |
Everything this free app does, plus buttons, tabs, fields, reports and chatter, read-only users, record access by domain, sign-in rules and server-side enforcement.
Go further with paid Viyug apps
This app stays free. These paid apps from the same team work next to it:
Need help or a change?
Questions, or a workflow that does not match yours? Use the Contact Vendor button on this page. Viyug Infotech will get back to you.
Email support: support@viyuginfotech.com
Website: viyuginfotech.com
Scan with your phone to chat on WhatsApp or write us an email:

+91 83207 42187

Send us an email
Release notes
Initial release
- Rules for users and groups, union of rules, optional hiding of the whole subtree
- Preview as user, hidden-menu count on the user form
- Audit trail: chatter history and a read-only change log
- Copy rules between users and groups, duplicate a rule
- JSON export and import with validation and a dry run
- Lock-out protection, optional direct-URL guard, Hide Menus User and Manager roles, multi-company safe
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
Discuss (mail)
|
| Lines of code | 1003 |
| Technical Name |
hide_menus_by_group |
| License | LGPL-3 |
| Website | https://viyuginfotech.com |
Please log in to comment on this module