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

Hi guys , 
I'm trying to search the record of Active and in active customers in res.partner model

 in ORM we can Search By this Expression 

['|', ('active', '=', True), ('active', '=', False)]

but in web service a i can't search in one expression , 
I need to search active customers in and then inactive customers , then need to combine all these records , 
is there is any way like  ORM in web service ??  
아바타
취소
베스트 답변

Hello ! I use this and it work 

 inParams.push(['|', ['active', '=', true], ['active', '=',false]]);


아바타
취소
관련 게시물 답글 화면 활동
1
3월 15
5108
1
5월 16
16179
2
9월 20
6111
1
7월 18
11428
1
4월 16
4533