Skip to Content
Menú
This question has been flagged
5110 Vistes

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
Descartar
Related Posts Respostes Vistes Activitat
3
de març 25
18075
0
de juny 24
1446
1
de des. 22
6292
3
de gen. 20
7025
1
de gen. 24
15237