Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1 Ответить
2775 Представления

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
3830
0
мая 17
3956
0
сент. 21
78
2
мая 24
2383
0
янв. 23
809