Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
5099 มุมมอง

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!

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
มี.ค. 25
18064
0
มิ.ย. 24
1440
1
ธ.ค. 22
6285
3
ม.ค. 20
7015
1
ม.ค. 24
15233