تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
1 الرد
2763 أدوات العرض

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

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
1
مايو 24
1494
2
يوليو 24
1914
1
سبتمبر 23
2814
1
أكتوبر 22
3212
0
أكتوبر 19
5401