İçereği Atla
Menü
Bu soru işaretlendi
1 Cevapla
6821 Görünümler

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 ??  
Avatar
Vazgeç
En İyi Yanıt

Hello ! I use this and it work 

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


Avatar
Vazgeç
İlgili Gönderiler Cevaplar Görünümler Aktivite
1
Mar 15
4946
1
May 16
15897
2
Eyl 20
5911
1
Tem 18
11114
1
Nis 16
4328