Skip to Content
Menu
Musisz się zarejestrować, aby móc wchodzić w interakcje z tą społecznością.
To pytanie dostało ostrzeżenie
1728 Widoki

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!

Awatar
Odrzuć
Autor

Thank you, and almost there but not quite.

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

Powiązane posty Odpowiedzi Widoki Czynność
2
wrz 25
568
1
sie 25
563
0
lip 25
354
2
cze 25
1785
1
maj 25
1713