mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-24 15:39:20 +00:00
fix in stock entry.py -- dictionary size should not change when looping
This commit is contained in:
@@ -446,7 +446,7 @@ class DocType(TransactionBase):
|
|||||||
only_pending_fetched.append(item)
|
only_pending_fetched.append(item)
|
||||||
|
|
||||||
# delete items with 0 qty
|
# delete items with 0 qty
|
||||||
for item in item_qty:
|
for item in item_qty.keys():
|
||||||
if not item_qty[item][0]:
|
if not item_qty[item][0]:
|
||||||
del item_qty[item]
|
del item_qty[item]
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user