This question has been flagged
2 Replies
2450 Views

When using CookComputing (XML-RPC.net) trying to search on mail.notification model with just one condition, it is rather simple, as you just have to call:


ids = models.execute_kw (db, uid, password, 'res.partner', 'search', [[['name', '=', "jhon"] or ['name', '=', "wil"]]])


but I need to use the or operator for the domain condition.


thanks, if someone can help me


Avatar
Discard
Author Best Answer

but as in XML-RPC.net I use the |

Avatar
Discard
Best Answer

Normally or operator is | in odoo 

Hope it help


Avatar
Discard