Ir al contenido
Menú
Se marcó esta pregunta
5078 Vistas

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
Publicaciones relacionadas Respuestas Vistas Actividad
3
mar 25
18040
0
jun 24
1415
1
dic 22
6281
3
ene 20
7010
1
ene 24
15230