Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
4881 Weergaven

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
Annuleer
Beste antwoord
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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
0
nov. 15
4887
1
mrt. 15
5109
1
mrt. 15
8480
1
mrt. 15
3014
10
dec. 23
36895