Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
1 Odpovědět
4939 Zobrazení

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
Zrušit
Autor Nejlepší odpověď

My Solution:

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

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

Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
zář 20
5907
1
lis 19
6815
1
bře 15
11660
1
bře 15
4980
2
bře 15
18018