Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
10311 Tampilan

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
Buang
Jawaban Terbai

try this:

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

Avatar
Buang
Penulis

Thanks Axel

worked then?

Penulis

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 Terkait Replies Tampilan Aktivitas
1
Jun 17
9169
7
Okt 24
8298
1
Sep 24
1609
1
Apr 24
2335
0
Jun 22
328