Skip to Content

How to Restrict Module Access in Odoo 19: A Guide

November 23, 2026 by

As your company grows, more and more people work in Odoo: salespeople, warehouse staff, accountants, and managers. Not everyone should have access to all data and features. That is why one of the first tasks after implementation is to organize permissions. In this article, we show how to restrict access to modules in Odoo 19, which mechanisms are available for this, and how to combine them into a consistent security policy.

Want to try the features described here in practice? Create a free Odoo instance and test permission settings with your own data.

Try Odoo for free

Why restrict access to modules?

Access control in an ERP is not just a matter of data security. Well-configured permissions bring many benefits:

  • Protection of confidential information – financial data, HR data, and price lists are available only to the people who need them.
  • Lower risk of errors – users see only the features related to their work.
  • A cleaner interface – no unnecessary apps and menus makes work easier and speeds up onboarding of new employees in the system.
  • Regulatory compliance – it is easier to apply the principle of data minimization for personal data required by GDPR and to pass internal audits.

How do permissions work in Odoo?

The permission system in Odoo is based on several complementary layers:

  1. Access Groups – define which apps and features a user can access and at what level (e.g., User, Administrator). Group membership determines which menus the user sees.
  2. Access Rights – define whether a group can read, write, create, or delete records of a given model.
  3. Record Rules – restrict the visibility of specific records, e.g., only your own orders or documents of a given company.
  4. Menu and field visibility – lets you hide selected interface elements from specific groups.

Keep in mind that permissions from different groups add up: if any of a user's groups allows a given operation, the user will be able to perform it. That is why, when designing roles, you need to check all the groups a person belongs to.

Step 1: Assigning the right permissions to a user

The main place for configuration is the user form. To restrict access to modules, follow the steps below:

  1. Go to Settings → Users & Companies → Users.
  2. Open the form of the selected user.
  3. On the Access Rights tab, you will find a list of apps with permission levels.
  4. For each app, select the appropriate level, e.g., "User" or "Administrator", or leave the field empty if the user should not have access.
  5. Save your changes.

The available levels depend on the app. In the Sales app, for example, you can choose "User: Own Documents Only", "User: All Documents", or "Administrator". This way, a salesperson sees only their own quotations and orders, while the sales manager sees the entire team's.

If an app has no level assigned, in most cases it will not appear in the user's main menu. This is the simplest way to hide an entire module from a given person. Also pay attention to the user type: internal accounts have access to the back-office interface, while portal accounts are meant for customers and partners and have a much narrower scope of data.

The principle of least privilege

Grant only the permissions that are necessary to perform job duties. Administrative permissions (especially access to Settings) should go only to people responsible for system configuration. This reduces the risk of accidental changes and misuse.

Step 2: Creating custom access groups

Standard groups do not always match your company's organizational structure. In such a case, it is worth creating custom groups that combine exactly the permissions a given department needs. You will find a detailed description in our guide: How to Create Custom Access Groups in Odoo 19: Guide.

Custom groups make management easier because instead of configuring permissions for each employee separately, you assign them to a single group, e.g., "Salesperson – Own Quotations Only". Avoid modifying standard Odoo groups, as this makes later upgrades and troubleshooting harder. It is better to create a new group that inherits permissions from a standard group and extends or restricts them.

Configuring permissions in complex implementations can be a challenge. If you want to be sure your role structure is correct, our consultants will be happy to help.

Contact us

Step 3: Hiding menu items

Sometimes a user should have access to a module but not to all of its sections, e.g., reports or configuration. After activating developer mode (Settings → Developer Tools → Activate Developer Mode or the ?debug=1 parameter in the URL), go to Settings → Technical → User Interface → Menu Items, open the selected item, and in the access groups field specify the groups that should see it. After this change, people outside those groups will not see the item in the navigation. We described the full instructions in the article How to Restrict Menu Access in Odoo 19: A Practical Guide.

Remember that hiding a menu is not the same as revoking access rights. A menu only hides the navigation path, while access rights and record rules protect data at the system level. A user who knows the direct URL or uses other views can still reach the data if their groups have permissions for it.

Step 4: Model access rights and record rules

To precisely control what a user can do with data, use the technical settings (developer mode required):

Model access rights

In the menu Settings → Technical → Security → Access Rights (depending on the interface version, the item may be called Access Rights or Model Access) you can define, for each group, permissions to read, write, create, and delete records in a selected model. This way, for example, a warehouse employee can view sales orders but cannot edit them.

Record rules

Record rules (Settings → Technical → Security → Record Rules) work at the level of individual entries and are based on a filter (domain). They allow you, for example, to limit the visibility of quotations to those created by a given salesperson, or to documents assigned to a specific company. Rules assigned to groups add up, while global rules (with no assigned group) always narrow access further. In multi-company environments, it is worth combining them with proper company assignment, which we cover in the article How to Assign Multiple Companies to One User in Odoo 19.

Before applying changes in the production environment, test them on a test copy. An incorrectly defined rule can block users from accessing important data. The most convenient way is to do this on a separate, free Odoo instance.

Try Odoo for free

Step 5: Restricting access to reports and document editing

A module is not just menus and forms, but also reports and posted documents. Access to analyses and summaries can be controlled separately. See how to do it in the article Report Access Rights in Odoo 19: How to Configure Them. In turn, protecting approved documents from changes is described in the post How to Lock Posted Documents in Odoo 19 from Editing.

Best practices for access management

  • Create roles, not exceptions – base permissions on groups that correspond to job positions.
  • Review permissions regularly – after organizational changes or when an employee leaves, update access. Archive former employees' accounts instead of deleting them to preserve the history of actions in documents.
  • Monitor activity – check who logs in to the system and when. This article will help Odoo Login History: How to View It.
  • Secure sessions and logins – set an appropriate session expiration time, which we describe in the guide Odoo 19 Session & Timeout: Setup and Account Security. Additionally, it is worth enabling two-factor authentication (2FA) for accounts with broad permissions.
  • Delegate consciously – when someone is covering for a coworker, use the mechanism described in the article Delegating Permissions in Odoo 19: How It Works.
  • Test changes – after configuration, log in to a test account and check what the user sees.

The most common mistakes when restricting access

Typical problems include granting administrator permissions "just in case", relying solely on hiding menus, lacking role documentation, editing standard groups and rules instead of creating custom ones, and forgetting to deactivate former employees' accounts. Each of these mistakes can lead to data leaks or unauthorized changes, so it is worth conducting a permissions audit from time to time.

FAQ – frequently asked questions

Is hiding a menu enough to secure a module?

No. Hiding a menu only makes navigation harder. To truly restrict access, you need to properly configure groups, model access rights, and record rules.

Can I give a user read-only access?

Yes. With model access rights, you can allow a group to only read selected data, without the ability to edit, create, or delete it.

Is developer mode required to configure permissions?

You can assign basic permissions on the user form without developer mode. Advanced settings, such as record rules, model access rights, or menu editing, require it to be activated.

Can I hide selected fields from some users?

Yes. Fields can be restricted to selected groups, but this requires developer mode and careful configuration, because a hidden field may be used in views, reports, or automations. Always test changes on a test copy.

What should I do when an employee leaves the company?

Archive their user account, and if someone takes over their duties, grant them the appropriate permissions or use delegation. Archiving preserves the history of changes and communication in documents.

Summary

Restricting access to modules in Odoo is a multi-layered process: from simply assigning levels on the user form, through custom groups and hiding menus, to precise access rights and record rules. A well-thought-out configuration increases security, organizes team work, and makes it easier to meet audit requirements.

Need help designing the permission structure in your company? Contact KK Innovations – we will help you configure Odoo so that every employee has access to exactly what they need.

Contact us