Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
2901 Visualizzazioni

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
Abbandona
Risposta migliore

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
Abbandona
Post correlati Risposte Visualizzazioni Attività
1
lug 21
3966
0
mag 17
4042
0
set 21
78
2
mag 24
2672
0
gen 23
809