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
Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:
- CRM
- e-Commerce
- Kế toán
- Tồn kho
- PoS
- Dự án
- MRP
Câu hỏi này đã bị gắn cờ
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
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
Bạn có hứng thú với cuộc thảo luận không? Đừng chỉ đọc, hãy tham gia nhé!
Tạo tài khoản ngay hôm nay để tận hưởng các tính năng độc đáo và tham gia cộng đồng tuyệt vời của chúng tôi!
Đăng ký