Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
1 Antworten
7341 Ansichten

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

Avatar
Verwerfen
Beste Antwort

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
Verwerfen
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?

Verknüpfte Beiträge Antworten Ansichten Aktivität
4
Okt. 24
23190
1
Sept. 16
2401
1
Juni 23
1941
1
Mai 23
1887
1
Okt. 22
4046