Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
5156 Vues

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
Ignorer
Meilleure réponse
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
Ignorer
Publications associées Réponses Vues Activité
0
nov. 15
5268
1
mars 15
5401
1
mars 15
8834
1
mars 15
3207
10
déc. 23
37354