Skip to Content
Menu
You need to be registered to interact with the community.
This question has been flagged
1752 Prikazi

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
Opusti
Avtor

Thank you, and almost there but not quite.

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

Related Posts Odgovori Prikazi Aktivnost
2
sep. 25
597
1
avg. 25
602
0
jul. 25
354
2
jun. 25
1845
1
maj 25
1782