跳至內容
選單
此問題已被標幟
1 回覆
7329 瀏覽次數

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
23175
1
9月 16
2399
1
6月 23
1934
1
5月 23
1878
1
10月 22
4024