Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
2898 Vizualizări

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

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
iul. 21
3962
0
mai 17
4042
0
sept. 21
78
2
mai 24
2664
0
ian. 23
809