I have setup the odoo CRM for my organization. but when any of my sales person add new contact it is visible to other sales person as well. what should i do to restrict sales person to see his own contacts only. But admin should see all sales person contact.
I have applied below rules but it can restrict admin as well to see his own contact. instead to see all contacts.
['|',('create_uid','=',user.id),'|',('id','=',1),('id', '=', user.partner_id.id)]
Can any one help me out to resolve this?
Where do I apply this fix to? The one Cybrosis wrote I mean, Like where do I paste the code for it to work