Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
2896 Weergaven

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
Annuleer
Beste antwoord

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
Annuleer
Gerelateerde posts Antwoorden Weergaven Activiteit
1
jul. 21
3961
0
mei 17
4042
0
sep. 21
78
2
mei 24
2664
0
jan. 23
809