Skip to Content
Menu
This question has been flagged
3 Replies
21195 Views

How record rule and access rights works in Odoo and what is the difference between them?

Avatar
Discard
Best Answer

In Odoo, record rules and access rights are used to control user access to data in the system. Both are used to restrict user access to specific records, but they work differently.

Record Rules:

Record rules are used to filter records based on certain conditions. Record rules allow you to define filters that determine which records a user can see and/or modify. For example, you can create a record rule that allows a user to only see their own records or records related to their department. You can also use record rules to hide records from certain users or groups.

Access Rights:

Access rights, on the other hand, are used to control what actions a user can perform on a particular record. For example, you can use access rights to restrict a user from deleting a record or to allow a user to edit certain fields in a record. Access rights can be set at the model level or the field level, and they can be set for individual users or groups of users.

The key difference between record rules and access rights is that record rules are used to control which records a user can see and/or modify, while access rights control what actions a user can perform on a particular record.

To summarize, record rules are used to filter records based on certain conditions, while access rights are used to control what actions a user can perform on a particular record.

Avatar
Discard
Best Answer

Hi William,

 In Odoo, the record rule is a mechanism that controls the visibility and access rights of records in a database based on certain conditions. It allows you to define restrictions on specific records, based on different criteria like user groups, roles, fields, and other conditions. This mechanism is used to ensure that users can only access records that are relevant to their roles and responsibilities, and to restrict access to sensitive or confidential data.

Access rights in Odoo are permissions granted to users to perform specific actions on records or objects in the system. For example, creating, editing, deleting, or viewing records. Odoo allows you to define access rights at different levels, such as user groups, roles, and individual users. These permissions can be assigned to users based on their roles, responsibilities, and job functions.

In combination, record rules and access rights provide a powerful way to control the visibility and accessibility of records in Odoo, ensuring that users have access to the information they need, while maintaining the security and integrity of the database.

above queries are not getting validated by Odoo & so are not shown on the Odoo forum.

Regards,

Ksolves Team

Avatar
Discard
Related Posts Replies Views Activity
2
Aug 23
2431
2
Aug 22
2071
1
Jan 21
3537
1
Dec 17
6144
1
Apr 25
159