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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- 客户关系管理
- e-Commerce
- 会计
- 库存
- PoS
- Project
- MRP
此问题已终结
1
回复
4895
查看
yes, you can use user groups. For example:
In python
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
|
4890 | ||
|
1
3月 15
|
5110 | ||
|
1
3月 15
|
8482 | ||
|
1
3月 15
|
3027 | ||
|
10
12月 23
|
36899 |