Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
1171 Tampilan

I have hired a new employee who will assist with recruitment. However, I do not want this employee to be able to find themselves in the recruitment module. How can I hide this information for this specific employee? 


Additionally, I have two employees who need to be able to hire people within the recruitment module, but I do not want them to access employee information in the employee module. How can I configure this in the access rights?

Avatar
Buang
Jawaban Terbai

Hi,

To hide the employee’s own information in the recruitment module, create a user group, set up a record rule to exclude their records, and assign the group to the employee.

For example, add a domain filter to exclude the current user's records:

[('id', '!=', user.partner_id.id)]


For the two employees who need to hire but not access employee information, also can follow the same method as above.Define the domain filter to restrict access to employees:


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


Hope this helps.

Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
0
Okt 21
1625
1
Agu 25
3662
1
Okt 24
3356
2
Jul 24
2216
0
Feb 24
1579