Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odgovori
2912 Prikazi

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

Avatar
Opusti
Best Answer

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

Avatar
Opusti
Related Posts Odgovori Prikazi Aktivnost
1
jul. 21
3978
0
maj 17
4049
0
sep. 21
78
2
maj 24
2704
0
jan. 23
809