The more people work in your ERP system, the more important it is that each of them sees only the items they need. An accountant doesn't need access to warehouse settings, and a salesperson doesn't need access to payroll configuration. In this guide, we show you how to restrict menu access in Odoo and do it safely, without the risk of someone accidentally changing critical settings.
If you want to try the features described here in practice right away, try Odoo for free and test the configuration on your own demo database.
Why restrict menu access?
A well-organized menu is not only a matter of security, but also of working comfort. Restricting the visibility of menu items brings several benefits:
- Data security – employees don't see modules and reports they shouldn't have access to.
- Fewer mistakes – users won't click on options they don't understand or change the configuration.
- Faster onboarding of new people – a shorter, clearer menu reduces training time.
- Compliance with internal procedures – it is easier to demonstrate that access to sensitive areas is controlled.
How does menu visibility work in Odoo?
In Odoo, menu visibility is based on user groups (res.groups) and on model access rights. Each menu item can be assigned one or more groups. The rules are as follows:
- if a menu has no groups assigned, it is visible to all users who have access to the parent menu,
- if a menu has groups assigned, only users who belong to at least one of them can see it,
- hiding a parent menu also hides all of its submenus,
- a menu item linked to an action is additionally hidden if the user doesn't have read access to the model that the action opens,
- a menu without its own action that has no visible submenus is not displayed.
Most standard menus are already linked to the appropriate module access groups, so in most cases it is enough to configure the user's rights correctly.
Method 1: Changing user access rights
The simplest way to restrict a menu is to set the appropriate permissions on the user's form. Odoo will automatically show or hide menus according to the assigned groups.
Step by step
- Go to Settings → Users & Companies → Users.
- Open the form of the selected user.
- Go to the Access Rights tab. For each application, select the appropriate access level, for example User or Administrator, or leave the field empty to revoke access.
- Save your changes and ask the user to refresh the page.
If you revoke access to a given application, its icon and the entire menu will disappear from the user's view, unless another group of that user gives them access to the same application. This solution is recommended first, because it uses standard Odoo mechanisms and is resistant to updates.
Method 2: Editing menu items in developer mode
When standard permissions are not enough, you can assign groups directly to a selected menu item.
Activating developer mode
Go to Settings and, in the Developer Tools section, click the option to activate developer mode. You can also add the ?debug=1 parameter to the URL. Once activated, a bug icon will appear in the top bar.
Assigning groups to a menu
- Go to Settings → Technical → User Interface → Menu Items.
- Search for the menu item you want to hide, for example by name.
- Open the item's form and find the Groups field.
- Add the groups that should see this menu. Other users will not see it.
- Save your changes and refresh the interface.
Keep in mind that this way you decide who sees a given item. If you add only the managers group, everyone else will lose access to it from the menu.
If you'd like to see how it works before changing settings in production, create a free Odoo test database and practice the configuration on a copy.
Method 3: A custom access group for selected menus
The most flexible solution is to create a dedicated group, for example "HR Department – View" or "Finance – Reports". This way you can manage access to many menus at once, without editing each item separately.
- In developer mode, go to Settings → Users & Companies → Groups.
- Create a new group and give it a clear name.
- In the Menus tab, add the menu items that should be available to group members.
- In the Access Rights tab, define which operations (read, write, create, delete) are allowed for each model. Without this, the user will see the menu, but will get an access error when opening it.
- Assign the group to selected users on their form.
This approach works well in companies with an extensive role structure, but it requires a well-thought-out permissions architecture. An incorrect configuration can block employees from accessing the data they need every day.
If your permissions structure is complex and you don't want to risk errors, our consultants will gladly design it together with you.
Hiding a menu is not the same as data security
This is one of the most important rules: hiding a menu only makes access harder, but it does not block it. A user who knows the direct URL or can open the data from another place, for example from a related record, can still see the information if the system allows it.
That is why you should always combine menu configuration with:
- model access rights (ir.model.access), which determine the ability to read, write, create and delete,
- record rules, which limit which specific records a user sees. We described this in detail in the article Odoo Record Rules: How They Work – A Complete Guide,
- access control for individual records, which we cover in the guide How to Restrict Access to Specific Records in Odoo.
Only the combination of these three layers provides real protection of information.
Best practices when restricting menus
- Start with the principle of least privilege. Grant only the access that is necessary to perform tasks.
- Use groups, not individual exceptions. It is easier to keep things organized when permissions are based on roles.
- Test with a test account. After making a change, log in as a sample user with the given role and check what they see.
- Be careful with standard menus. Changes made to items defined by modules may be overwritten when the module is updated, so in a production environment it is better to use custom groups or a dedicated module that overrides menu settings.
- Document the configuration. Write down which roles have access to which areas of the system.
- Monitor changes. See how to track user activity in the article User Activity Audit in Odoo 19: Track Changes and Logins.
If you work in a multi-company environment, also remember to assign users to the right companies. This post will help How to Assign a User to a Company in Odoo Multi-Company.
Common problems and solutions
The menu is still visible after the change
Refresh the page using Ctrl+F5 or ask the user to log in again. Also check whether the user belongs to another group that gives them access to the same item. One matching group is enough for the menu to be visible.
The user lost access to an important feature
Verify whether the groups assigned to the parent menu also include this user. Hiding the main menu hides all submenus, even if they have different settings.
The menu is visible, but an access error appears after clicking it
This usually means that the user belongs to a group assigned to the menu but does not have access rights to the model that the menu opens. Check in the group's Access Rights tab whether the relevant operations on the model are allowed, and whether a record rule is blocking it.
The administrator doesn't see the menu
Make sure the administrator belongs to the groups assigned to the given item. Simply having the Administrator role in an application does not mean automatic membership in every custom group.
FAQ – Frequently asked questions
Is hiding a menu in Odoo enough to secure data?
No. Hiding a menu only changes what the user sees in the interface and does not block access via a direct URL or through related records. To truly protect data, you need to configure model access rights and record rules.
Is developer mode required to hide menus?
Not for changing user permissions in the standard settings. Developer mode is needed when you want to edit specific menu items or create custom groups with assigned menus.
Will menu changes survive an Odoo update?
Not always. Modifications to standard menus may be overwritten after a module update. The safest approach is to use custom access groups or implement changes in a dedicated module.
Summary
To restrict menu access in Odoo, start by setting user permissions correctly, and when that is not enough, use menu item editing or custom groups. Remember that the menu is only one layer of security, so always complement it with access rights and record rules. A well-designed role structure ensures that every employee sees exactly what they need, while your data stays safe.
Need help implementing permissions or a security audit in Odoo? The KK Innovations team will be happy to help. Contact us and let's discuss your project.