Update update_requested_and_ordered_qty.py
This commit is contained in:
parent
1caca80203
commit
5086ef2499
@ -18,7 +18,7 @@ def execute():
|
|||||||
"indented_qty": get_indented_qty(item_code, warehouse),
|
"indented_qty": get_indented_qty(item_code, warehouse),
|
||||||
"ordered_qty": get_ordered_qty(item_code, warehouse)
|
"ordered_qty": get_ordered_qty(item_code, warehouse)
|
||||||
})
|
})
|
||||||
if count / 200 == 0:
|
if count % 200 == 0:
|
||||||
frappe.db.commit()
|
frappe.db.commit()
|
||||||
except:
|
except:
|
||||||
frappe.db.rollback()
|
frappe.db.rollback()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user