跳至内容
菜单
此问题已终结
2 回复
4417 查看

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
5204
2
3月 24
3214
0
9月 21
2804
1
3月 15
5834
0
3月 15
3350