Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1 Trả lời
2786 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
1514
2
thg 7 24
1958
1
thg 9 23
2824
1
thg 10 22
3239
0
thg 10 19
5428