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
관련 게시물 | 답글 | 화면 | 활동 | |
---|---|---|---|---|
|
1
7월 21
|
3810 | ||
|
0
5월 17
|
3944 | ||
|
0
9월 21
|
78 | ||
|
2
5월 24
|
2371 | ||
|
0
1월 23
|
809 |