diff --git a/erpnext/patches/july_2012/repost_stock_due_to_wrong_packing_list.py b/erpnext/patches/july_2012/repost_stock_due_to_wrong_packing_list.py index be4d4502e6..ac64f42217 100644 --- a/erpnext/patches/july_2012/repost_stock_due_to_wrong_packing_list.py +++ b/erpnext/patches/july_2012/repost_stock_due_to_wrong_packing_list.py @@ -10,8 +10,10 @@ def execute(): pass webnotes.conn.begin() + webnotes.conn.auto_commit_on_many_writes = 1 repost_reserved_qty() cleanup_wrong_sle() + webnotes.conn.auto_commit_on_many_writes = 0 def repost_reserved_qty(): from webnotes.utils import flt