Odoo Help

0

AccessError (Document type: res.users, Operation: read) on LOGIN

By
CHANDRASHEKAR B S
on 1/19/16, 6:18 AM 1,860 views

I'm using Odoo 8. I've created a Record Rule (MyCustomers) with following rule

['|',('user_id','=','False'), ('user_id','=','user_id')] and assigned it to Sales/See Own Leads group. After setting this Rule, I get an error each time I login and doesn't show any customers & doesn't allow me to create customer.


 

1
Axel Mendoza
On 1/21/16, 3:21 AM

try this:

['|',('user_id','=',False), ('user_id','=',user.id)] 

Thanks Axel

CHANDRASHEKAR B S
on 1/21/16, 4:25 AM

worked then?

Axel Mendoza
on 1/22/16, 3:31 PM

Yes Axel, it worked. Thank you

CHANDRASHEKAR B S
on 1/27/16, 9:48 AM

could you upvote the answer?

Axel Mendoza
on 1/28/16, 10:14 AM

Initially, this filter seems to work for me, but when trying to open partner view, I get res.user operation read warning again. I literally gave access to res.users model, but nothing happens.

Daniel Blanco
on 10/22/16, 6:35 PM

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

2 follower(s)

Stats

Asked: 1/19/16, 6:18 AM
Seen: 1860 times
Last updated: 3/10/17, 2:03 AM