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

I have lets say the module Contacts, and I need to hide some fields, lets say phone number, to a particular group of users. Is it possible in Odoo 13 or Odoo 12?

Avatar
Cancelar
Melhor resposta
yes, you can use user groups. For example:
In python
birthday = fields.Date('Date of Birth', groups="hr.group_hr_user")
or you have to specify the groups in the XML
<field name="birthday" groups="hr.group_hr_user"/>
Regards,
Avatar
Cancelar
Publicações relacionadas Respostas Visualizações Atividade
0
nov. 15
5244
1
mar. 15
5367
1
mar. 15
8785
1
mar. 15
3176
10
dez. 23
37308