[minor] [patch] [fix] commit after each repost in p07_repost_billed_amt_in_sales_cycle.py

This commit is contained in:
Anand Doshi 2013-07-19 16:25:32 +05:30
parent 0d009f3db0
commit 59544ff542

View File

@ -20,4 +20,5 @@ def execute():
import webnotes
for si in webnotes.conn.sql("""select name from `tabSales Invoice` where docstatus = 1"""):
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()