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

Is there a way to get current user's groups from js without calling a python function

Аватар
Отменить
Лучший ответ

Hello Kampeons,

I hope you are doing good.

Please check below link might be that will help you !

http://stackoverflow.com/questions/37434548/how-to-check-if-an-user-belongs-to-several-groups-in-odoo

Thanks




Аватар
Отменить
Автор

In the given link they are using python function to get current user groups.I need to get it in js

The linked answer states that it requires a custom Python method, which you must call from JS to get the details you need. Why do you need a way to do so without calling any Python?

Related Posts Ответы Просмотры Активность
4
окт. 24
23188
1
сент. 16
2400
1
июн. 23
1940
1
мая 23
1883
1
окт. 22
4044