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

Hi,

I have a need to get product quantities in different locations  using the API.

I queried product.product model using the API from and external application. Even though the field location_id is present in the API response, it is always (for all products) it is empty.

I do appreciate if someone please let me know the correct implementation (which model, field to be queried if different from above ?)


Thanks and Best Regards


Indunil


الصورة الرمزية
إهمال
أفضل إجابة

Hi,

Try querying the model "stock.quant".

الصورة الرمزية
إهمال
المنشورات ذات الصلة الردود أدوات العرض النشاط
0
سبتمبر 21
2027
0
يوليو 21
4819
1
مارس 21
4456
3
يناير 25
3333
0
مارس 23
113