diff --git a/patches/july_2013/p07_repost_billed_amt_in_sales_cycle.py b/patches/july_2013/p07_repost_billed_amt_in_sales_cycle.py index 94acf71f817..e18bed0c8ea 100644 --- a/patches/july_2013/p07_repost_billed_amt_in_sales_cycle.py +++ b/patches/july_2013/p07_repost_billed_amt_in_sales_cycle.py @@ -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) \ No newline at end of file + with_children=1).update_qty(change_modified=False) + webnotes.conn.commit() \ No newline at end of file