Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
2928 Zobrazení

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
Zrušit
Nejlepší odpověď

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
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
1
čvc 21
3987
0
kvě 17
4062
0
zář 21
78
2
kvě 24
2738
0
led 23
809