Every company implementing an ERP system quickly arrives at the same question: who should see which data, and what should they be able to do with it? In Odoo, the answer is groups, a mechanism that lets you precisely control access to modules, menus, data models and individual records. In this article, we show how to set up user groups in practice so that your system stays secure and your team can work comfortably.
If you want to see the settings described here in action right away, launch your own Odoo instance and test the configuration live.
What are user groups in Odoo?
A group in Odoo is a set of permissions that can be assigned to one or more users. Instead of granting rights to each person individually, you define them once in a group and then add the relevant people to it. This makes administration faster and significantly reduces the risk of mistakes.
A group can control four main areas:
- Model access rights – read, write, create and delete records.
- Record rules – restricting visibility to selected data, e.g. only your own documents or the data of a single company.
- Menu access – the visibility of individual items in the application menu.
- View and field access – the ability to hide selected views and form elements (e.g. fields with margin or cost) from people outside a given group.
In newer versions of Odoo, permissions on the user form are presented in an organized way: by application and access level, such as User or Administrator. You also select the user type separately (internal, portal or public), which defines the basic scope of access to the system. Under the hood, however, groups still do the work, and you can create and modify them yourself.
Preparation: activate developer mode
Managing groups from the interface requires developer mode to be enabled. Go to Settings, scroll down to the Developer Tools section and click Activate the developer mode. You can also add the ?debug=1 parameter to the URL. Once activated, additional technical items appear in the Settings menu, including the list of groups.
Keep in mind that you need administrator rights to edit groups. It is a good idea to test permission changes on a test database first and only then move them to production.
How to set up user groups step by step
Step 1: Open the list of groups
Go to Settings → Users & Companies → Groups. You will see a list of all groups available in the system, grouped by application. Before you create a new group, check whether an existing standard group already meets your needs. Odoo has ready-made access levels for most modules.
However, it is not worth editing standard groups directly. Changes to groups supplied by modules may be overwritten during an update, and it also becomes harder to tell what has been changed compared to the default settings. A safer solution is to create your own group that inherits from the standard one.
Step 2: Create a new group
Click New and give the group a clear name, e.g. "Sales – Team Leader". A good name should clearly describe a role, not a specific person. On the Users tab, you can immediately assign the people who should belong to the group.
It is also worth using group inheritance. On the Inherited tab, you specify that the new group automatically includes the permissions of another group. This way, for example, a sales manager gets everything a regular salesperson has, plus additional permissions.
Step 3: Set model access rights
On the Access Rights tab, add lines defining which models the group can access. For each model, you tick four operations: read, write, create and delete. The rule is simple: grant only the rights that are truly needed. If someone only needs to view orders, tick read only.
Access rights are additive: if a user belongs to several groups, they receive the sum of those groups' permissions for a given model.
Step 4: Add record rules
Access rights tell you what type of data a user can access. Record rules determine which specific records they can see. On the Record Rules tab, you define a filtering domain, e.g. [('user_id', '=', user.id)], meaning only documents where the user is the assigned salesperson. This is a key tool in multi-branch or multi-company organizations, where the data of individual units must remain separate.
When creating rules, pay attention to which operations they should apply to (read, write, create, delete) and whether the rule is global or assigned to specific groups. This matters because rules assigned to groups combine alternatively (the user sees records that meet any of them), while global rules always accumulate and further narrow the result. An incorrectly defined domain can block the work of an entire department, so test it on a trial account.
Step 5: Configure menus and views
The Menus tab lets you specify which menu items will be visible to group members. This way, a warehouse employee will not see, for example, the accounting module. The Views tab similarly lets you restrict the visibility of selected views. If specific information, such as margin or purchase cost, should be available only to selected people, you can assign a group to a field in a view (e.g. in Odoo Studio) or do it in the module code. Remember that hiding a menu is not a substitute for access rights: it is the access rights that actually protect the data.
When the configuration covers many departments, custom record rules and custom modules, it is easy to make errors that are hard to catch during testing. The support of an experienced partner helps you avoid costly fixes after the system goes live.
Assigning users to groups
Once the group is ready, you can assign people to it in two ways: from the group itself (the Users tab) or from the form of a specific user. The second method is convenient when hiring a new person, because you set all of their permissions right away. If you are only just creating accounts, check out our guide on how to create new users in Odoo.
After assigning permissions, always check that they work. Log in as a test user or, in developer mode, use the option available to administrators to log in as a selected user. This way, you make sure the user sees exactly what they should, and nothing more.
The safest approach is to practice the entire configuration on a separate database before it reaches your team. Launch your own Odoo instance and see how groups, access rights and record rules behave.
Best practices for designing groups
- Design groups around roles, not people. Job positions change, while roles remain stable.
- Apply the principle of least privilege. Start with minimal access and expand it as needed.
- Use inheritance. You will avoid duplicating rights and make the configuration easier to maintain.
- Do not edit standard groups. Create your own groups that inherit from the standard ones, so updates do not overwrite your changes.
- Document your changes. Use the Notes tab to describe why a group was created and who is responsible for it.
- Limit the number of administrators. Only people who truly need full access should have it.
- Review permissions regularly. When the organization changes, remove unnecessary access.
We cover the entire permission model in more depth in the article Odoo Roles and Access Rights – Complete Guide, which is a good complement to this guide.
Most common configuration mistakes
The most common problem is excessive permissions granted "just in case". A user who can delete accounting records or change prices is a real risk for the company. The second typical mistake is untested record rules that, once saved, hide data the team needs for their work. The third is creating new groups when it would be enough to modify the existing settings on the user form. The fourth is editing standard groups instead of creating your own, which makes later updates harder.
If someone sees an access error message after a permission change, check in order: the model access rights, the record rules and membership in the required groups linked to the application. The message usually indicates the model and the operation that cannot be performed, which significantly speeds up diagnosis.
FAQ – Frequently asked questions
Do I need to enable developer mode to manage groups?
To create and edit groups, access rights and record rules, yes, because these options are available in the technical menu. Basic assignment of application permissions to specific people is possible on the user form without developer mode.
Can one user belong to multiple groups?
Yes. Permissions from different groups add up, so an employee can have, for example, access to both sales and inventory. However, make sure the sum of permissions does not give more than their role requires.
What is the difference between access rights and record rules?
Access rights define which operations (read, write, create, delete) a user can perform on a given type of data. Record rules narrow the scope to selected records, e.g. only to your own orders or the data of a single company.
Can I change Odoo's standard groups?
Technically it is possible, but it is not recommended. Changes to groups supplied by modules may be overwritten during an update. It is better to create your own group that inherits from the standard one and adds the permissions you need.
Summary
Well-configured user groups are the foundation of security and order in Odoo. Plan your roles, define access rights, complement them with record rules and menu access, and then test everything on a trial account. This approach reduces the risk of errors and makes it easier for the system to grow with your company.
Need help designing your permission structure or implementing Odoo tailored to your organization? Contact the KK Innovations team, and we will help you do it quickly and securely.