Security – Record Rules in Odoo – CBMS Odoo ERP

Security – Record Rules in Odoo – CBMS Odoo ERP

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:

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.

#Security #Record #Rules #Odoo

Similar Posts

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *