Skip to Content
Menu
This question has been flagged
1 Atsakyti
2947 Rodiniai

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

Portretas
Atmesti
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

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
1
liep. 21
3999
0
geg. 17
4077
0
rugs. 21
78
2
geg. 24
2756
0
saus. 23
809