Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1726 Tampilan

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!

Avatar
Buang
Penulis

Thank you, and almost there but not quite.

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

Post Terkait Replies Tampilan Aktivitas
2
Sep 25
567
1
Agu 25
562
0
Jul 25
354
2
Jun 25
1784
1
Mei 25
1711