Quantcast
Channel: OpenERP Help - Individual question feed
Viewing all articles
Browse latest Browse all 6389

How to use logical OR operator with XML-RPC ?

$
0
0
I read following document about expressing a search domain (args) for xml-rpc: [https://doc.openerp.com/trunk/server/api_models/](https://doc.openerp.com/trunk/server/api_models/) Where it's explained how to write the following query: (name is 'ABC' AND (language is NOT english) AND (country is Belgium OR Germany)) To get: [('name','=','ABC'),'!',('language.code','=','en_US'),'|',('country_id.code','=','be'),('country_id.code','=','de')) The arity of the '&' and '|' operator is 2, so how can I wrote the following query: (name is 'ABC' AND (language is NOT english) AND (country is Belgium OR Germany OR France OR Italy))

Viewing all articles
Browse latest Browse all 6389

Trending Articles