Thanks so much for your pointer Marica - that violation is clear and obvious to me in retrospect, but a good relearning experience in any case

This commit is contained in:
John Clarke 2020-06-12 07:22:14 -06:00 committed by GitHub
parent 677978dd00
commit 85f237257a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -187,7 +187,7 @@ def get_fifo_queue(filters, sle=None):
transferred_item_details[(d.voucher_no, d.name)].append(fifo_queue.pop(0))
else:
# all from current batch
flt(batch[0]) -= qty_to_pop
batch[0] -= qty_to_pop
transferred_item_details[(d.voucher_no, d.name)].append([qty_to_pop, batch[1]])
qty_to_pop = 0