Overslaan naar inhoud
Menu
Je moet geregistreerd zijn om te kunnen communiceren met de community.
Deze vraag is gerapporteerd
1 Beantwoorden
3122 Weergaven

Hi,
If I want to get record if my origin of PO match with existing origin how I can write a query for this using xmlrpc..
below is my query, but its not giving any output..

models = xmlrpc.client.ServerProxy('{}/xmlrpc/2/object'.format(url))

po_ids = models.execute_kw(db,1,password, 'purchase.order', 'search', [[['origin','like', 'so_name%']]])

If anyone know this please help.. I want to fetch this record only through xmlrpc not by psycopg2


Avatar
Annuleer
Beste antwoord

Hello @Nalini,

You can try this,

po_ids = models.execute_kw(db,1,password, 'purchase.order', 'search', [[['origin','like', 'SO%']]])

print po_ids

Regards,




Email: odoo@aktivsoftware.com

Skype: kalpeshmaheshwari

   

Avatar
Annuleer