Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
7545 Vistas

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

Avatar
Descartar
Mejor respuesta

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

Publicaciones relacionadas Respuestas Vistas Actividad
4
oct 24
23678
1
sept 16
2613
1
jun 23
2272
1
may 23
2205
1
oct 22
4369