İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
2886 Görünümler

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
Vazgeç
En İyi Yanıt

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
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Tem 21
3955
0
May 17
4042
0
Eyl 21
78
2
May 24
2646
0
Oca 23
809