Skip to Content
Menu
Dette spørgsmål er blevet anmeldt
1 Svar
9943 Visninger

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
Kassér
Bedste svar

try this:

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

Avatar
Kassér
Forfatter

Thanks Axel

worked then?

Forfatter

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 Besvarelser Visninger Aktivitet
1
jun. 17
8532
7
okt. 24
7667
1
sep. 24
1300
1
apr. 24
1885
0
jun. 22
328