Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
7350 Widoki

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

Awatar
Odrzuć
Najlepsza odpowiedź

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




Awatar
Odrzuć
Autor

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?

Powiązane posty Odpowiedzi Widoki Czynność
4
paź 24
23202
1
wrz 16
2403
1
cze 23
1942
1
maj 23
1892
1
paź 22
4055