autocommit for repost stock due to wrong packing list patch
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 be4d450..ac64f42 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 @@
 		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