Skip to Content
Menú
This question has been flagged
1 Respondre
4886 Vistes

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
Descartar
Best Answer
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
Descartar
Related Posts Respostes Vistes Activitat
0
de nov. 15
4889
1
de març 15
5109
1
de març 15
8481
1
de març 15
3021
10
de des. 23
36896