Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
2787 Vistas

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
Mejor respuesta

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
Publicaciones relacionadas Respuestas Vistas Actividad
1
jul 21
3855
0
may 17
3964
0
sept 21
78
2
may 24
2407
0
ene 23
809