İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
10224 Görünümler

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.


 

Avatar
Vazgeç
En İyi Yanıt

try this:

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

Avatar
Vazgeç
Üretici

Thanks Axel

worked then?

Üretici

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.

İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Haz 17
9018
7
Eki 24
8192
1
Eyl 24
1545
1
Nis 24
2251
0
Haz 22
328