Skip to Content
Menú
This question has been flagged
1 Respondre
4803 Vistes

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

Avatar
Descartar
Autor Best Answer

My Solution:

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

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

Avatar
Descartar
Related Posts Respostes Vistes Activitat
2
de set. 20
5744
1
de nov. 19
6667
1
de març 15
11455
1
de març 15
4845
2
de març 15
17857