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
|
26032 | |
|
|
1
ก.ย. 16
|
3793 | ||
|
|
1
มิ.ย. 23
|
4012 | ||
|
|
1
พ.ค. 23
|
3873 | ||
|
|
1
ต.ค. 22
|
6284 |