Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
7327 Weergaven

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

Avatar
Annuleer
Beste antwoord

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




Avatar
Annuleer
Auteur

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?

Gerelateerde posts Antwoorden Weergaven Activiteit
4
okt. 24
23171
1
sep. 16
2399
1
jun. 23
1934
1
mei 23
1878
1
okt. 22
4023