Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
5089 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
3
thg 3 25
18058
0
thg 6 24
1437
1
thg 12 22
6285
3
thg 1 20
7014
1
thg 1 24
15233