Skip to Content
Menu
This question has been flagged

I have Odoo 9 installed. We need to restrict sales reps to see each other's contacts. I wrote a record rule so sales reps see all contacts they've created plus those that someone assigned to them(by choosing the sales rep's name in the Sales person field). This is my rule definition:
['|',('user_id','=',user.id),('create_uid','=',user.id)]
Everything works fine in my contact list and customer list but as soon as I open the sales dashboard or pipeline, I get this error:
The requested operation cannot be completed due to security restrictions. Please contact your system administrator.
(Document type: res.users, Operation: read)
I also gave res.users read permission to my group. What am I missing here?


Avatar
Discard
Related Posts Replies Views Activity
3
Dec 24
13553
1
Oct 23
2443
0
Apr 23
1895
6
Nov 19
63248
1
May 24
3018