Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
2783 Tampilan

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
Buang
Jawaban Terbai

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
Buang
Post Terkait Replies Tampilan Aktivitas
1
Jul 21
3851
0
Mei 17
3962
0
Sep 21
78
2
Mei 24
2402
0
Jan 23
809