Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

how to restrict salesmans to view their own customers....

By
raji jaafar
on 11/28/13, 2:27 PM 1,092 views

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

0
raji jaafar
On 11/29/13, 6:57 AM

securité->recorded rules then add a rule like this one object: res.partner Rule Definition (Domain Filter); ['|',('user_id','=',user.id),('user_id','=',False)] non global thx open-net but it works only on a new database

0
Open Net Sarl
On 11/28/13, 5:44 PM

Hello,

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

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 11/28/13, 2:27 PM
Seen: 1092 times
Last updated: 3/16/15, 8:10 AM