[minor] [patch] [fix] commit after each repost in p07_repost_billed_amt_in_sales_cycle.py
This commit is contained in:
parent
0d009f3db0
commit
59544ff542
@ -20,4 +20,5 @@ def execute():
|
|||||||
import webnotes
|
import webnotes
|
||||||
for si in webnotes.conn.sql("""select name from `tabSales Invoice` where docstatus = 1"""):
|
for si in webnotes.conn.sql("""select name from `tabSales Invoice` where docstatus = 1"""):
|
||||||
webnotes.get_obj("Sales Invoice", si[0],
|
webnotes.get_obj("Sales Invoice", si[0],
|
||||||
with_children=1).update_qty(change_modified=False)
|
with_children=1).update_qty(change_modified=False)
|
||||||
|
webnotes.conn.commit()
|
Loading…
Reference in New Issue
Block a user