minor fix

This commit is contained in:
Nabin Hait 2016-02-19 16:09:02 +05:30
parent 8fdd4e7b54
commit ddcd8c58bf

View File

@ -29,7 +29,7 @@ def delete_company_transactions(company_name):
else:
# un-set company
frappe.db.sql('update `tab{0}` set company="" where company=%s', company_name)
frappe.db.sql('update `tab{0}` set company="" where company=%s'.format(doctype), company_name)
# Clear notification counts
clear_notifications()