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

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
23191
1
вер. 16
2402
1
черв. 23
1941
1
трав. 23
1888
1
жовт. 22
4051