コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6760 ビュー

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
4890
1
5月 16
15816
2
9月 20
5856
1
7月 18
11025
1
4月 16
4243