[fix] delete company transactions

This commit is contained in:
Nabin Hait 2016-03-11 17:36:57 +05:30
parent a7aa2c70b5
commit 653f68d2e4

View File

@ -27,10 +27,6 @@ def delete_company_transactions(company_name):
"Purchase Taxes and Charges Template", "POS Profile", 'BOM'):
delete_for_doctype(doctype, company_name)
else:
# un-set company
frappe.db.sql('update `tab{0}` set company="" where company=%s'.format(doctype), company_name)
# Clear notification counts
clear_notifications()