In my database, I have 2 companies and three-level users.
admin level, manager level, salesperson. (Company A and Company B)
The salesperson can see all customer by the record rule : ['|',('user_id','=',user.id),('user_id','=',False)]
Manager level wants to see all customers in that particular branch by the record rule : [('company_id','in',[user.company_id.id])]
Admin level user by the reord rule : [(1,'=',1)]
But my question is that I need to hide some personal customers of admin-level from manager level user? In the above record rule, manager-level users can see all the customers in that particular company including personal customers of the admin also.
How can I hide the personal customer of admin users?
How is it possible?
These tips help you to get the basic idea about customization in odoo
https://learnopenerp.tumblr.com/