Access rights in Odoo 14 | Odoo 14 Developement Tutorials

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



Category:
Tutorial
Duration: 14:56
1,341 views
6


Grants access to an entire model for a given set of operations. If no access rights match an operation on a model for a user (through their group), the user doesn’t have access.

Access rights are additive, a user’s accesses are the union of the accesses they get through all their groups e.g. given a user who is part of group A granting read and create access and a group B granting update access, the user will have all three of create, read, and update.

class ir.model.access
name: The purpose or role of the group.

model_id: The model that access the ACL controls.

group_id: The res.groups to which the accesses are granted, an empty group_id means the ACL is granted to every user (non-employees e.g. portal or public users).

The perm_method attributes grant the corresponding CRUD access when set, they are all unset by default.
perm_create

perm_read

perm_write

perm_unlink







Tags:
odoo
odoo erp
cybrosys odoo
odoo apps
access rights odoo
odoo 14 access rights
odoo developement tutorials
odoo tutorials
odoo functional
odoo technical
cybrosys
odoo form
odoo tree
odoo kanban
odoo list
odoo for beginers
odoo blogs
oca
odoo community
odoo class
odoo forum
odoo 14
odoo 15
odoo 13
access rights in odoo