commit | 5086ef249978ec9b6d81493705d94ecd1a3dd9a9 | [log] [tgz] |
---|---|---|
author | Nabin Hait <nabinhait@gmail.com> | Wed Nov 05 12:33:29 2014 +0530 |
committer | Nabin Hait <nabinhait@gmail.com> | Wed Nov 05 12:33:29 2014 +0530 |
tree | e1975b3c45e56f86783a0bb16587b3d84aca8a6a | |
parent | 1caca8020323995efe456b3ccbff04c6945b01a7 [diff] |
Update update_requested_and_ordered_qty.py
diff --git a/erpnext/patches/v4_2/update_requested_and_ordered_qty.py b/erpnext/patches/v4_2/update_requested_and_ordered_qty.py index e44133e..d6cabd8 100644 --- a/erpnext/patches/v4_2/update_requested_and_ordered_qty.py +++ b/erpnext/patches/v4_2/update_requested_and_ordered_qty.py
@@ -18,7 +18,7 @@ "indented_qty": get_indented_qty(item_code, warehouse), "ordered_qty": get_ordered_qty(item_code, warehouse) }) - if count / 200 == 0: + if count % 200 == 0: frappe.db.commit() except: frappe.db.rollback()