Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
2 Odpowiedzi
3030 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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.


Awatar
Odrzuć
Najlepsza odpowiedź

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

Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
2
sty 24
2342
2
sie 23
2762
3
sie 23
6184
1
gru 20
7168
1
maj 20
5887