打开潜在客户时 odoo 服务器错误,odoo 9

odoo server error while opening a lead,odoo 9

我使用了域名规则: ['|',('user_id','=',user.id),('message_partner_ids','child_of',[user.commercial_partner_id.id])]

在 "Personal lead" 下记录规则和对象是 "Lead/Opportunity" 在以用户身份单击潜在客户时出现错误: 提高 ValueError("Invalid field %r in leaf %r" % (left, str(leaf)))

ValueError:叶“”中的无效字段 'user_id'”

我知道 user_id 不属于 mail.followers 模型,所以我看到了这个错误。我应该更改我的域规则吗?

我之前的要求是我的用户同时看到 - 以他们为销售人员的线索 -他们关注但有不同销售人员的线索

上面提到的域规则确实满足该要求,它列出了所有潜在客户,但打开它们会给我一个错误。

my prior requirement is my users to see both -Leads that has them as salesperson -Leads that they follow but has different salesperson

您不需要添加规则,已经支持此功能。 潜在客户的所有者或有权访问它的人可以通过单击“添加关注者”将他们添加为底部的关注者,他们将能够看到该文档。