diff --git a/erpnext/patches/4_0/map_charge_to_taxes_and_charges.py b/erpnext/patches/4_0/map_charge_to_taxes_and_charges.py index 19913eb8b21..b0cf61bea21 100644 --- a/erpnext/patches/4_0/map_charge_to_taxes_and_charges.py +++ b/erpnext/patches/4_0/map_charge_to_taxes_and_charges.py @@ -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'""")