Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

Search multiple IDS in XMLRPC

By
[Syci] Mario Montes
on 9/15/14, 11:47 AM 661 views

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

0
[Syci] Mario Montes
On 9/15/14, 2:04 PM

My Solution:

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

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

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

1 follower(s)

Stats

Asked: 9/15/14, 11:47 AM
Seen: 661 times
Last updated: 3/16/15, 8:10 AM