Skip to Content
Menu
This question has been flagged
1 Reply
6553 Views

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

Avatar
Discard
Best Answer

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
Discard
Author

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?

Related Posts Replies Views Activity
4
Oct 24
20829
1
Sep 16
1824
1
Jun 23
796
1
May 23
608
1
Oct 22
2687