Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
7459 Visualizzazioni

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

Avatar
Abbandona
Risposta migliore

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
Abbandona
Autore

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?

Post correlati Risposte Visualizzazioni Attività
4
ott 24
23466
1
set 16
2534
1
giu 23
2120
1
mag 23
2069
1
ott 22
4226