Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
1 Відповісти
6873 Переглядів

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]]);


Аватар
Відмінити
Related Posts Відповіді Переглядів Дія
1
бер. 15
4981
1
трав. 16
16010
2
вер. 20
5956
1
лип. 18
11240
1
квіт. 16
4405