Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
1772 Lượt xem

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!

Ảnh đại diện
Huỷ bỏ
Tác giả

Thank you, and almost there but not quite.

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

Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 10 25
228
2
thg 9 25
658
1
thg 8 25
632
0
thg 7 25
354
2
thg 6 25
1921