mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 15:39:20 +00:00
Update stock_ageing.py
This commit is contained in:
@@ -187,7 +187,7 @@ def get_fifo_queue(filters, sle=None):
|
|||||||
transferred_item_details[(d.voucher_no, d.name)].append(fifo_queue.pop(0))
|
transferred_item_details[(d.voucher_no, d.name)].append(fifo_queue.pop(0))
|
||||||
else:
|
else:
|
||||||
# all from current batch
|
# all from current batch
|
||||||
batch[0] -= qty_to_pop
|
batch[0] = flt(batch[0]) - qty_to_pop
|
||||||
transferred_item_details[(d.voucher_no, d.name)].append([qty_to_pop, batch[1]])
|
transferred_item_details[(d.voucher_no, d.name)].append([qty_to_pop, batch[1]])
|
||||||
qty_to_pop = 0
|
qty_to_pop = 0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user