Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
7330 มุมมอง

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?

Related Posts ตอบกลับ มุมมอง กิจกรรม
Get current user from js แก้ไขแล้ว
4
ต.ค. 24
23175
1
ก.ย. 16
2399
1
มิ.ย. 23
1934
1
พ.ค. 23
1878
1
ต.ค. 22
4024