To restrict access to contacts, I put the rule [ '|','|', ('message_follower_ids', 'in', [user.partner_id.id]), ('user_id', '=', user.id), ('user_id', '=', False) ] on res.partner. But when an employee request leaves, the following error occurs: AccessError Document: res.user, Operation: read.
I don't Know why it's happening. The global rule for res.users [(1,'=',1) is active...
Thanks in advance
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: 9/16/15, 12:58 PM|
|Seen: 591 times|
|Last updated: 9/30/15, 10:04 PM|