コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
3112 ビュー

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


アバター
破棄
最善の回答

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

   

アバター
破棄