Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Artificial Intelligence
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries ⟶
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    • Affiliate Program
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Productivity
  3. Hide Menus by User & Group (with Preview & Audit) v 18.0
  4. Sales Conditions FAQ

Hide Menus by User & Group (with Preview & Audit)

by Viyug Infotech https://viyuginfotech.com
Odoo
v 18.0 Third Party 65
Download for v 18.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
Hide Menus by User and Group

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

2
roles
JSON
export and import
Preview
any user

Need more control? Upgrade to Access Management

Hide more than menus. Explore the full specifications of our paid app on its own page.

Access Management icon
Access Management Paid app

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.

View Access Management

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.

1

Create a rule

Name it, choose who is affected and which menus to hide. The change log tab and the chatter record every edit.

Create a rule
2

Pick menus from a searchable list

Each entry shows its full path. Search by menu name or by parent menu.

Pick menus from a searchable list
3

Preview as user

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

Preview as user
4

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 sales clerk sees
5

What the administrator sees

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

What the administrator sees
6

Audit log

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

Audit log
7

Import and export

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

Import and export
8

Settings

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

Settings

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.

FeatureFreePro
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โ€“โœ“
Access Management icon
Access Management Paid app

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.

View Access Management

Go further with paid Viyug apps

This app stays free. These paid apps from the same team work next to it:

Access Management

Access rights per user or group: hide menus, fields, buttons and tabs, read-only users and record access.

Open on the Odoo store รขย†ย—

Record Restrictions

Limit journals, warehouses, locations and more per user or group.

Open on the Odoo store รขย†ย—

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:

WhatsApp QR code for Viyug Infotech support

WhatsApp

+91 83207 42187

Email QR code for Viyug Infotech support

Email

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 993
Technical Name hide_menus_by_group
LicenseLGPL-3
Websitehttps://viyuginfotech.com

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.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal โ€ข Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with