Skip to Content
Menú
This question has been flagged
1 Respondre
5056 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
6052
1
de nov. 19
6937
1
de març 15
11870
1
de març 15
5138
2
de març 15
18210