mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 01:25:07 +00:00
remove print in patch, booboo
This commit is contained in:
@@ -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'""")
|
||||
|
||||
Reference in New Issue
Block a user