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

I tried several combination on getting prices through XMLRPC interface in a new version, always getting errors.

Anybody can help with a working example or hint how to get it working through XMLRPC or Json (I am using OERPLib 0.8.2).

アバター
破棄
最善の回答

{"jsonrpc":"2.0","method":"call","params":{"model":"product.pricelist","method":"price_get","args":[A,B,C],"kwargs":{"context":{"lang":"en_US","tz":"Europe/Brussels","uid":1,"search_default_customer":1}}},"id":761527826}

A = pricelist ID (1 for default)
B = product ID
C = quantity

アバター
破棄
著作者 最善の回答

Thanks a lot!

 

アバター
破棄
関連投稿 返信 ビュー 活動
3
3月 24
5277
2
3月 24
3347
0
9月 21
2852
1
3月 15
5922
0
3月 15
3403