mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-02 11:49:10 +00:00
Update update_requested_and_ordered_qty.py
This commit is contained in:
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user