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:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project
- MRP
This question has been flagged
1
Reply
4866
Views
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,
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
0
Nov 15
|
4883 | ||
access rights manual
Solved
|
|
1
Mar 15
|
5107 | |
|
1
Mar 15
|
8478 | ||
|
1
Mar 15
|
3010 | ||
|
10
Dec 23
|
36892 |