Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
4840 Представления

In hr.employee , only HR manager and HR Officer group users have access to edit the records.

My requirement is, Related users can edit the private information section of their employee record only and also view all other employee information.

  

How to achieve this.

Аватар
Отменить
Лучший ответ

Hi,

You can add a record rule with the following domain,

[('user_id','=',user.id)]

Thanks

Аватар
Отменить
Автор

If i do this then the user wont be able to view other employee records. My requirement is the user can view other records but cant edit them. Edit permission is only for the related employee record.

define the another rule for the others, with the above domain allow read, write. WIth new domain give only read permission

Related Posts Ответы Просмотры Активность
1
июн. 22
3820
2
мар. 25
6028
2
янв. 22
3964
0
окт. 21
2269
0
июл. 21
2548