Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

1

Error res.user, operation: read when register new holidays

By
Miguel Mesa
on 9/16/15, 12:58 PM 596 views

Odoo 8.0-20150712

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

0
Miguel Mesa
On 9/22/15, 11:40 AM

Resolved. The contact of the user that had to request leaves, was unable to himself because has asigned to another user.

0
Miguel Mesa
On 9/22/15, 11:40 AM

Resolved. The contact of the user that had to request leaves, was unable to himself because has asigned to another user.

Your Answer

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

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/16/15, 12:58 PM
Seen: 596 times
Last updated: 9/30/15, 10:04 PM