Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
6777 Tampilan

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
Buang
Jawaban Terbai

Hello ! I use this and it work 

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


Avatar
Buang
Post Terkait Replies Tampilan Aktivitas
1
Mar 15
4895
1
Mei 16
15830
2
Sep 20
5871
1
Jul 18
11045
1
Apr 16
4254