Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
1 ตอบกลับ
2858 มุมมอง

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 ? 

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,


Try this condition:


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


Hope it helps

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
พ.ค. 24
1564
2
ก.ค. 24
2049
1
ก.ย. 23
2914
1
ต.ค. 22
3320
0
ต.ค. 19
5487