Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
4460 มุมมอง

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!

 

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
3
มี.ค. 24
5272
2
มี.ค. 24
3329
0
ก.ย. 21
2844
1
มี.ค. 15
5913
0
มี.ค. 15
3388