Skip to Content
Menu
This question has been flagged
4883 Views

Hello, I am currently using OpenErpConnect to make an Android app: => github.com/zikzakmedia/android-openerp

According to the documentation, It is possible to search the ERP using an OR query:

Integer[] ids = oc.search("res.partner", new Object[] {"|", new Object[] {"name", "=", "Enric"}, new Object[] {"name", "!=", "ZZ"}});

This in indeed working pretty well, but I would like to filter using multiple criteria. Let's call this search a OR b

I have unsuccessfully tried a "&" symbol to add a criteria, but this result as a null.

Any help from other developers would be highly appreciated.

Thank a lot!

Avatar
Discard
Related Posts Replies Views Activity
3
Mar 25
17346
0
Jun 24
1152
1
Dec 22
5976
3
Jan 20
6801
1
Jan 24
14956