I want to show some measures in the measures dropdown only for specific group (sales admin) and hide them for other groups
let's say i have the cost measure and i want the users in sales administration group only to see it
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
I want to show some measures in the measures dropdown only for specific group (sales admin) and hide them for other groups
let's say i have the cost measure and i want the users in sales administration group only to see it
Hi,
You can give groups attribute in the python file for the field.
cost = fields.Float('Cost', readonly=True, groups="sales_team.group_sale_manager")
Regards
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
1
Jul 21
|
2961 | ||
|
0
May 17
|
3318 | ||
|
0
Sep 21
|
78 | ||
|
2
May 24
|
1707 | ||
|
0
Jan 23
|
809 |