how to restrict salesmans to view their own customers without removing the posibility to create new customers i used record rules but it prevent user from creating new customers
At the time you create the partner, it belong to no one.
You should add a condition like ('user_id','=',False) in your record rule.
users will see their own and the one attributed to nobody.
If you use a default value, that the user that create the partner is the salesman, you could also avoid this
Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/28/13, 2:27 PM|
|Seen: 1091 times|
|Last updated: 3/16/15, 8:10 AM|