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?
هل أعجبك النقاش؟ لا تكن مستمعاً فقط. شاركنا!
أنشئ حساباً اليوم لتستمتع بالخصائص الحصرية، وتفاعل مع مجتمعنا الرائع!
تسجيلالمنشورات ذات الصلة | الردود | أدوات العرض | النشاط | |
---|---|---|---|---|
Get current user from js
تم الحل
|
|
4
أكتوبر 24
|
23172 | |
|
1
سبتمبر 16
|
2399 | ||
|
1
يونيو 23
|
1934 | ||
|
1
مايو 23
|
1878 | ||
|
1
أكتوبر 22
|
4023 |