Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
1 Răspunde
6771 Vizualizări

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 ??  
Imagine profil
Abandonează
Cel mai bun răspuns

Hello ! I use this and it work 

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


Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
mar. 15
4894
1
mai 16
15822
2
sept. 20
5861
1
iul. 18
11033
1
apr. 16
4244