Odoo Help

1

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

By
Miguel Mesa
on 9/16/15, 12:58 PM 751 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.

About This Community

This platform 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.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)

Stats

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