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

i have used a domian rule : ['|',('user_id','=',user.id),('message_partner_ids','child_of',[user.commercial_partner_id.id])]

under "Personal lead" record rule and object is "Lead/Opportunity" and while clicking on a lead as user i get an error: raise ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))

ValueError: Invalid field 'user_id' in leaf ""

i know user_id does not belong to mail.followers model and so i see this error. should i change my domain rule?

my prior requirement is my users to see both

-Leads that has them as salesperson

-Leads that they follow but has different salesperson

above mentioned domain rule does satisfy that requirement , it lists all the leads but opening them gives me an error.

الصورة الرمزية
إهمال

Please use a meaningful title.

أفضل إجابة

Do not attached any image @dharupriyanshi@gmail.com 

الصورة الرمزية
إهمال
الكاتب أفضل إجابة

When i try to edit the answer , it constantly gives 403:forbidden error

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
يناير 17
4420
0
يناير 17
4704
3
مايو 20
5028
1
يوليو 16
3598
2
مارس 24
5564