Security - Record Rules in Odoo

Subscribers:
28,000
Published on ● Video Link: https://www.youtube.com/watch?v=-JJjzSi9CXw



Category:
Tutorial
Duration: 9:07
3,506 views
15


Record rules are conditions that records must satisfy for an operation (create, read, update or delete) to be allowed. It is applied record-by-record after access control has been applied.
by using the record rule we can control access to some specific records in that modules in space of control all the records but only for some record that comes under some condition

Get the module from our repository: https://github.com/CybroOdoo/openacademy

A record rule has

- a model
- a set of permissions to which it applies
- a set of user groups to which the rule applies, if no group is specified the rule is global
- a domain used to check whether a given record matches the rule (and is accessible) or does not (and is not accessible).
The domain is evaluated with two variables in context: the user is the current user’s record and time is the time module


for example, we don't want to share all the leads that we have in our database to all the salespersons. they need there on the lead so we have to control the records that come under the salespersons only visible to that salesperson
but all the leads of all the salespersons are stored in the same table but we want to take the lead is that are connected with that salesperson only visible to that salesperson others cannot have the access to that leads

#odoodevelopment #odootutorials #odoo13
For More Videos Subscribe to our YouTube channel.







Tags:
Security - Record Rules in Odoo
odoo security
odoo rules
odoo record rules
odoo 13
odoo 13 security
security - record rules in odoo
odoo security rules
security in odoo
odoo record rules and access rights
odoo record rules tutorial
odoo security tutorials
odoo field security
odoo security groups
security groups in odoo
record rule in odoo
how to write record rule in odoo
how to create security groups in odoo