Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
5123 Переглядів

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?

Аватар
Відмінити
Найкраща відповідь
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,
Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
0
лист. 15
5250
access rights manual Вирішено
1
бер. 15
5375
1
бер. 15
8798
1
бер. 15
3189
10
груд. 23
37320