When I try to log in with a test user in my custom Odoo module, I get this error:
Sorry, test1 (id=8) doesn’t have ‘read’ access to: User (res.users)
I have already given read access to both res.partner and res.users models in my ACL file for that test user’s groups.
I also created record rules for the res.partner model so each group can only access partners of a specific type like student, staff, or faculty.
But still, I get this read access error for res.users when I try to log in.
Can someone explain why this happens even though read access is granted in ACLs, and how to fix it properly?