In the contacts, anyone is able to see anyone else' contacts. Want to block and see only my contacts/companies. Likewise each user should see only the contacts of himself or the users reporting to him. How do we do this?
Version 12.0
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
In the contacts, anyone is able to see anyone else' contacts. Want to block and see only my contacts/companies. Likewise each user should see only the contacts of himself or the users reporting to him. How do we do this?
Version 12.0
Hi,
->Go to Settings > Technical > Security > Record Rules.
->Create a new record rule for the model you want to restrict access to (e.g. Contacts ).
->Set the Domain to ['|', ('user_id', '=', user.id), ('user_id', '=', False)]. This domain will restrict access to records where the user is the owner or the owner is not set.
->Set the Apply for Read field to Yes to apply this rule when reading records.
->Set the Apply for Write field to Yes to apply this rule when writing records.
->Set the Groups field to the appropriate group(s) that should have this restriction applied to them.
Regards
Stwórz konto dzisiaj, aby cieszyć się ekskluzywnymi funkcjami i wchodzić w interakcje z naszą wspaniałą społecznością!
Zarejestruj sięPowiązane posty | Odpowiedzi | Widoki | Czynność | |
---|---|---|---|---|
|
2
mar 15
|
7165 | ||
Can not understand Sales Team use
Rozwiązane
|
|
5
mar 24
|
5452 | |
|
0
cze 15
|
3816 | ||
|
0
wrz 23
|
1686 | ||
|
1
lut 22
|
3242 |