Перейти к содержимому
Меню
Чтобы взаимодействовать с сообществом, необходимо зарегистрироваться.
Этот вопрос был отмечен
1755 Представления

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.

Related Posts Ответы Просмотры Активность
2
сент. 25
602
1
авг. 25
613
0
июл. 25
354
2
июн. 25
1849
1
мая 25
1792