Hi, I have been stuck for a few days for the following function.
I need to restrict some contacts for some users (not only in the view, in all modules). I have tried to use Registration Rules but it doesn't work.
An account in my odoo should only use or see some contacts, I placed this user in a group with the rule:
['|', ('user_id','=',False), ('user_id','=',user.id), ('id','in',[44,46,50])]
if I do not select any group (global value), the rule works fine, but it is for all users, admin included (that is worse). When I select a specific group in the registration rule (where is the user with restrictions), the registration rule does not work for any user.
What is the correct method?