Passa al contenuto
Menu
È necessario essere registrati per interagire con la community.
La domanda è stata contrassegnata
1 Rispondi
9939 Visualizzazioni

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
Abbandona
Risposta migliore

try this:

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

Avatar
Abbandona
Autore

Thanks Axel

worked then?

Autore

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.

Post correlati Risposte Visualizzazioni Attività
1
giu 17
8528
7
ott 24
7665
1
set 24
1300
1
apr 24
1883
0
giu 22
328