Skip to Content
Menu
This question has been flagged
2 Replies
2697 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
Related Posts Replies Views Activity
1
Oct 24
266
1
Apr 24
510
2
Mar 24
735
0
Sep 23
575
1
Jun 23
818