Skip to Content
मेन्यू
This question has been flagged
1 Reply
2975 Views

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
Discard
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
Discard
Related Posts Replies Views Activity
1
जुल॰ 21
4034
0
मई 17
4126
0
सित॰ 21
78
2
मई 24
2784
0
जन॰ 23
809