Is there a way to get current user's groups from js without calling a python function
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- ลูกค้าสัมพันธ์
- e-Commerce
- ระบบบัญชี
- สินค้าคงคลัง
- PoS
- Project
- MRP
คำถามนี้ถูกตั้งค่าสถานะ
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 |