Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
2908 Переглядів

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

Аватар
Відмінити
Найкраща відповідь

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

Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
лип. 21
3974
0
трав. 17
4046
0
вер. 21
78
2
трав. 24
2690
0
січ. 23
809