Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
7358 Lượt xem

Is there a way to get current user's groups from js without calling a python function

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

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




Ảnh đại diện
Huỷ bỏ
Tác giả

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ài viết liên quan Trả lời Lượt xem Hoạt động
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