Community mailing list archives

community@mail.odoo.com

Record Rules Help - V7

by
RU3IX PTY LTD
- 12/08/2015 17:10:52
Hello Community,

I am looking for a small technical assistance to get around this record rule issue, I was trying to filter the Customers based existing sales group "see own leads" . This should show only partners which were assigned to them.

We created a record rule on res.partner object with (create, write, read, delete) rights, following domain and give a Sales / User: Own Leads Only group to the record rule

['|',('user_id','=',False),('user_id','=',user.id)]




When I try to open a partner in form view, I end up with below error

Access Denied The requested operation cannot be completed due to security restrictions. Please contact your system administrator. (Document type: Partner, Operation: read)


​ 

Any suggestions please..?

Thanks,
Naran