Odoo is the world's easiest all-in-one management software. It includes hundreds of business apps:
CRM | e-Commerce | Accounting | Inventory | PoS | Project management | MRP | etc.
inherit the 'action_customer_partner_form' action and update the domain as follows
where the employee_id field is the related employee ID of the user who created the customer.
Using this, each user will see only the records he created only in the customer table, the department managers will see the records they created and all records created by their subordinates only.
As per Jérémy comment, the admin can see all records.
You have to add the employee_id feild to the 'res.partern' table and update it while adding new customers
About This Community
This platform 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.Register
Odoo Training Center
Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.Test it now
|Asked: 2/10/16, 9:00 AM|
|Seen: 714 times|
|Last updated: 2/11/16, 12:56 AM|