Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1 Odpowiedz
9948 Widoki

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.


 

Awatar
Odrzuć
Najlepsza odpowiedź

try this:

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

Awatar
Odrzuć
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.

Powiązane posty Odpowiedzi Widoki Czynność
1
cze 17
8540
7
paź 24
7672
1
wrz 24
1304
1
kwi 24
1893
0
cze 22
328