Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4899 Zobrazení

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
Zrušit
Nejlepší odpověď
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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
0
lis 15
4894
1
bře 15
5110
1
bře 15
8485
1
bře 15
3031
10
pro 23
36901