Skip to Content
Menú
This question has been flagged
1 Respondre
2902 Vistes

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
Descartar
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
Descartar
Related Posts Respostes Vistes Activitat
1
de jul. 21
3966
0
de maig 17
4043
0
de set. 21
78
2
de maig 24
2673
0
de gen. 23
809