Odoo Access Rights
16 November, 2022 by
Deviati Nur Istiqomah


Access Rights

Activate the developer mode, then go to Settings ‣ Users & Companies ‣ Groups.

Groups

When choosing the groups the user can have access under Access Rights, details of the rules and inheritances of that group are not shown, so this is when the menu Groups comes along. Groups are created to define rules to models within an application.
Under Users, have a list of the current ones. The ones with administrative rights are shown in black.
View of a group’s form emphasizing the tab users in Odoo

Inherited means that users added to this application group are automatically added to the following ones. In the example below, users who have access to the group Administrator of Sales also have access to Website/Restricted Editor and Sales/User: All Documents.

View of a group’s form emphasizing the tab inherited in Odoo

 Important

Remember to always test the settings being changed in order to ensure that they are being applied to the needed and right users.

The Menus tab is where you define which menus (models) the user can have access to.

View of a group’s form emphasizing the tab menus in Odoo

Access Rights rules are the first level of rights. The field is composed of the object name, which is the technical name given to a model. For each model, enable the following options as appropriate:

  • Read: the values of that object can be only seen by the user.

  • Write: the values of that object can be edited by the user.

  • Create: values for that object can be created by the user.

  • Delete: the values of that object can be deleted by the user.

View of a group’s form emphasizing the tab access rights in Odoo
As a second layer of editing and visibility rules, Record Rules can be formed. They overwrite, or refine, the Access Rights.
A record rule is written using a Domain. Domains are conditions used to filter or searching data. Therefore, a domain expression is a list of conditions. For each rule, choose among the following options: ReadWriteCreate and Delete values.
View of a group’s form emphasizing the tab record rules in Odoo

 Important

Making changes in access rights can have a big impact on the database. For this reason, we recommend you to contact your Odoo Business Analyst or our Support Team, unless you have knowledge about Domains in Odoo.

Deviati Nur Istiqomah
16 November, 2022
Share this post
Archive