1 / 14

Security in Odoo 15 - Record Rules in Odoo15 - Odoo 15 Development Slides

Record rules are conditions that must be satisfied in order for an operation to be allowed. Record rules are evaluated record-by-record. Record rules are default-allow: if access rights grant access and no rule applies to the operation and model for the user, the access is granted.<br>Ref: https://www.cybrosys.com/slides/record-rules-in-odoo-15-erp

SEO141
Download Presentation

Security in Odoo 15 - Record Rules in Odoo15 - Odoo 15 Development Slides

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Security in Odoo 15 Record Rules in Odoo 15 www.cybrosys.com

  2. INTRODUCTION • Aside from manually managing access using custom code, Odoo provides two main • data-driven mechanisms to manage or restrict access to data. • Record rules are conditions which must be satisfied in order for an operation to be allowed. Record rules are evaluated record-by-record. • Record rules are default-allow: if access rights grant access and no rule applies to the operation and model for the user, the access is granted.

  3. RecordRules • In business, there are different types of records. And it is essential to provide proper security for those records. • In Odoo, there are also some security rules. The rules define who can access the following objects. • In record rules, we describe some conditions for certain operations.

  4. There are four access modes in the record rule: - Create: Access for creating records - Write: Access for writing or editing the records - Read: Access for reading or viewing the records - Delete: Access for deleting the records

  5. Backend Record Rule Creation

  6. Ir.rule is the model of a record rule

  7. These are the access modes set for the group . This group has only the permission to read or view the records because other permissions are false.

  8. In the case of domain_force, we set the domain for the record rule. The rule will apply when it matches the record.

  9. Here we can specify the group; the rule will apply for the corresponding groups only.

  10. Go to Settings > Technical > Security > Record Rule

  11. Check our company website for related blogs and Odoo book. Odoo Book V15 Check our YouTube channel for functional and technical videos in Odoo. Security in Odoo 15 - Record Rules in Odoo15 For More Details

  12. Thank You

More Related