autocommit for repost stock due to wrong packing list patch

This commit is contained in:
Anand Doshi 2012-09-05 13:26:53 +05:30
parent e642805882
commit 518090f38e

View File

@ -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