remove print in patch, booboo

This commit is contained in:
Pratik Vyas 2014-02-17 14:56:00 +05:30
parent 31affc0e67
commit da0a23e635

View File

@ -7,12 +7,10 @@ import frappe
def execute():
# udpate sales cycle
for d in ['Sales Invoice', 'Sales Order', 'Quotation', 'Delivery Note']:
print d, 'one'
frappe.conn.sql("""update `tab%s` set taxes_and_charges=charge""" % d)
# udpate purchase cycle
for d in ['Purchase Invoice', 'Purchase Order', 'Supplier Quotation', 'Purchase Receipt']:
print d, 'two'
frappe.conn.sql("""update `tab%s` set taxes_and_charges=purchase_other_charges""" % d)
frappe.conn.sql("""update `tabPurchase Taxes and Charges` set parentfield='other_charges'""")