Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1 Responder
1296 Visualizações

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
Cancelar
Melhor resposta

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
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
out. 21
1753
1
ago. 25
3978
1
out. 24
6068
2
jul. 24
2509
0
fev. 24
1790