Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
4900 Widoki

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?

Awatar
Odrzuć
Najlepsza odpowiedź
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,
Awatar
Odrzuć
Powiązane posty Odpowiedzi Widoki Czynność
0
lis 15
4894
1
mar 15
5111
1
mar 15
8487
1
mar 15
3032
10
gru 23
36902