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?
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Accounting
- Inventory
- PoS
- Project management
- MRP
This question has been flagged
2817
Views
Enjoying the discussion? Don't just read, join in!
Create an account today to enjoy exclusive features and engage with our awesome community!
Sign upRelated Posts | Replies | Views | Activity | |
---|---|---|---|---|
|
2
Mar 24
|
10808 | ||
|
1
Oct 23
|
1131 | ||
|
0
Apr 23
|
1105 | ||
User Access Permissions
Solved
|
|
6
Nov 19
|
61813 | |
|
1
May 24
|
1306 |