跳至内容
菜单
此问题已终结
1 回复
4895 查看

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
5871
1
11月 19
6778
1
3月 15
11595
1
3月 15
4950
2
3月 15
17976