fix in stock entry.py -- dictionary size should not change when looping
This commit is contained in:
parent
e9418f3be1
commit
c2e3f347ea
@ -446,7 +446,7 @@ class DocType(TransactionBase):
|
||||
only_pending_fetched.append(item)
|
||||
|
||||
# delete items with 0 qty
|
||||
for item in item_qty:
|
||||
for item in item_qty.keys():
|
||||
if not item_qty[item][0]:
|
||||
del item_qty[item]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user