Skip to Content
Menu
This question has been flagged
2 Replies
4377 Rodiniai

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).

Portretas
Atmesti
Best Answer

{"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

Portretas
Atmesti
Autorius Best Answer

Thanks a lot!

 

Portretas
Atmesti
Related Posts Replies Rodiniai Veikla
3
kov. 24
5145
2
kov. 24
3143
0
rugs. 21
2770
1
kov. 15
5774
0
kov. 15
3316