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

Hello, 

I'm trying to add some record rules to enable internal users to see helpdesk ticket that they are followers.


i have tried to create a domain filter like this but it doesn't work. 


['|', ("user_id","=",user.id) , ('message_follower_ids', 'in', user.id)]


can anyone please enlight me ? 

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

Hi,


Try this condition:


['|', ("user_id", "=", user.id),('message_follower_ids', 'in', user.partner_id.id)]


Hope it helps

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 5 24
1724
2
thg 7 24
2325
1
thg 9 23
3143
1
thg 10 22
3618
0
thg 10 19
5716