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

Is there a way to get the qty_available of a specific delivery/stock picking (I always get one product per delivery)?

I have the stock.picking of the delivery.

Something in line with the following but can't figure out which context variable to provide for the picking

self.product_id.with_context({'picking_id' : self .picking_id, 'strict' : True}).qty_available


Thank you!

الصورة الرمزية
إهمال
الكاتب

Thank you, and almost there but not quite.

I needed the available quantity for a specific delivery and not for a location.

المنشورات ذات الصلة الردود أدوات العرض النشاط
2
سبتمبر 25
325
1
أغسطس 25
379
0
يوليو 25
354
2
يونيو 25
1514
1
مايو 25
1508