Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
3033 Vistas

Hi ...

i make new Group Rules for all user sales. and make the sales can view all records sales team and can edit their own record.


in access right i check READ , CREATE, WRITE and DELETE

in record rules i make new and access right in only READ


but after save , all user can edit all other user record. So, i think the record rules tab is not working and still follow the access right tab

Avatar
Descartar
Mejor respuesta

Thank you for the answer. i see in the article is a Manager to update all employess record and all employee can see their own record.

if in my case i want like this :

All Manager can see all employee records and can update it,

All Employee can see all employee records but only their own record can edit, not other user records. 


For example :

I'm the user , in my office have 5 users and 1 manager.

My manager can see and update the teams report , and also i can see that but for access edit, only me can edit my records but i only can read other user team reports.


please help for my case.


Avatar
Descartar
Mejor respuesta

Hi,

Access rights in Odoo are defined at the model level, and the actions a user can perform on a model are determined (Create, Read, Write, Delete).

Record rules provide more control and are used to restrict access to records within a model. These rules are specified using domain filters and can be applied to specific user groups.

In your case, maybe the record rules are defined incorrectly. take a look at the below reference and make the required corrections in your record rule.

https://www.odoo.com/forum/help-1/how-to-create-record-rules-143881

Thanks

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
2
ene 24
2344
2
ago 23
2763
3
ago 23
6186
1
dic 20
7170
1
may 20
5887