跳至内容
菜单
此问题已终结
1 回复
9946 查看

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.


 

形象
丢弃
最佳答案

try this:

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

形象
丢弃
编写者

Thanks Axel

worked then?

编写者

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.

相关帖文 回复 查看 活动
1
6月 17
8540
7
10月 24
7672
1
9月 24
1304
1
4月 24
1891
0
6月 22
328