تخطي للذهاب إلى المحتوى
القائمة
لقد تم الإبلاغ عن هذا السؤال
2 الردود
4465 أدوات العرض

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
مارس 24
5273
2
مارس 24
3334
0
سبتمبر 21
2848
1
مارس 15
5915
0
مارس 15
3391