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:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Project
- MRP
Câu hỏi này đã bị gắn cờ
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?
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng kýBài viết liên quan | Trả lời | Lượt xem | Hoạt động | |
---|---|---|---|---|
Get current user from js
Đã xử lý
|
|
4
thg 10 24
|
23206 | |
|
1
thg 9 16
|
2407 | ||
|
1
thg 6 23
|
1945 | ||
|
1
thg 5 23
|
1901 | ||
|
1
thg 10 22
|
4062 |