Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
9928 Vizualizări

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.


 

Imagine profil
Abandonează
Cel mai bun răspuns

try this:

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

Imagine profil
Abandonează
Autor

Thanks Axel

worked then?

Autor

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 Răspunsuri Vizualizări Activitate
1
iun. 17
8514
7
oct. 24
7651
1
sept. 24
1297
1
apr. 24
1877
0
iun. 22
328