Pular para o conteúdo
Menu
Esta pergunta foi sinalizada
1771 Visualizações

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
Cancelar
Autor

Thank you, and almost there but not quite.

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

Publicações relacionadas Respostas Visualizações Atividade
1
out. 25
224
2
set. 25
656
1
ago. 25
632
0
jul. 25
354
2
jun. 25
1919