콘텐츠로 건너뛰기
메뉴
커뮤니티에 참여하려면 회원 가입을 하시기 바랍니다.
신고된 질문입니다
1 회신
10054 화면

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
8751
7
10월 24
7926
1
9월 24
1382
1
4월 24
2078
0
6월 22
328