跳至內容
選單
此問題已被標幟
1 回覆
4893 瀏覽次數

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,
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
11月 15
4889
1
3月 15
5110
1
3月 15
8481
1
3月 15
3025
10
12月 23
36898