Skip to Content
Menu
This question has been flagged
1 Atsakyti
9955 Rodiniai

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.


 

Portretas
Atmesti
Best Answer

try this:

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

Portretas
Atmesti
Autorius

Thanks Axel

worked then?

Autorius

Yes Axel, it worked. Thank you

could you upvote the answer?

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.

Related Posts Replies Rodiniai Veikla
1
birž. 17
8546
7
spal. 24
7689
1
rugs. 24
1309
1
bal. 24
1902
0
birž. 22
328