跳至内容
菜单
此问题已终结
1 回复
7336 查看

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

形象
丢弃
最佳答案

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




形象
丢弃
编写者

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?

相关帖文 回复 查看 活动
4
10月 24
23188
1
9月 16
2400
1
6月 23
1940
1
5月 23
1883
1
10月 22
4044