(I'm new in odoo and still learning so bear with me) Using record rules I was able to limit my user from viewing all customers in his contact list to only view the ones that have as salesperson, I used this domain expression : [('user_id','=',user.id)] .
The issue that Im facing is when I try to create a new sale order with this user I get this error :
The requested operation ("read" on "Users" (res.users)) was rejected because of the following rules:
(Records: False (id=8), User: False (id=8))
Implicitly accessed through 'Users' (res.users).
My goal is to give my user access to only view his customers in contact list and when he create a sale order (in the customer list).