Se rendre au contenu
Menu
Cette question a été signalée
1 Répondre
2701 Vues

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
Ignorer
Meilleure réponse

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
Ignorer
Publications associées Réponses Vues Activité
1
juil. 21
3765
0
mai 17
3907
0
sept. 21
78
2
mai 24
2321
0
janv. 23
809