跳至內容
選單
此問題已被標幟
1 回覆
4921 瀏覽次數

I need to search multiple IDS in a single search, examples Manual XMLRPC only found this:

args = [('vat', '=', 'ZZZZZZ')] #query clause ids = sock.execute(dbname, uid, pwd, 'res.partner', 'search', args)

How do I add more options search the same field? 'ZZZZZZ','AAAAAA','BBBBBBB'

Thks

頭像
捨棄
作者 最佳答案

My Solution:

args = [('x_ref_fenix_old', 'in', ['ESKP01006', 'ESKP01005', 'ESPM01065'])]

ids = sock.execute(self.dbname,uid,self.password,model, 'search',args)

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
9月 20
5900
1
11月 19
6806
1
3月 15
11645
1
3月 15
4975
2
3月 15
18007