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
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: 2/10/16, 9:00 AM|
|Seen: 431 times|
|Last updated: 2/11/16, 12:56 AM|