autocommit for repost stock due to wrong packing list patch
This commit is contained in:
parent
e642805882
commit
518090f38e
@ -10,8 +10,10 @@ def execute():
|
|||||||
pass
|
pass
|
||||||
webnotes.conn.begin()
|
webnotes.conn.begin()
|
||||||
|
|
||||||
|
webnotes.conn.auto_commit_on_many_writes = 1
|
||||||
repost_reserved_qty()
|
repost_reserved_qty()
|
||||||
cleanup_wrong_sle()
|
cleanup_wrong_sle()
|
||||||
|
webnotes.conn.auto_commit_on_many_writes = 0
|
||||||
|
|
||||||
def repost_reserved_qty():
|
def repost_reserved_qty():
|
||||||
from webnotes.utils import flt
|
from webnotes.utils import flt
|
||||||
|
Loading…
Reference in New Issue
Block a user