In Odoo every partner has a parent_id field. In my Odoo app I want to make that an user can only see his contacts (partners). That means that an user can only see those contacts in wich he is the parent contact. I created the following record rule for this purpose, but it is not working, the user can see all contacts, whether he is the parent or not. What am I doing wrong?
full example here :
[('parent_id.id','=',user.partner_id.id)]
un my record rule i used the domanin force