minor fix
This commit is contained in:
parent
8fdd4e7b54
commit
ddcd8c58bf
@ -29,7 +29,7 @@ def delete_company_transactions(company_name):
|
|||||||
|
|
||||||
else:
|
else:
|
||||||
# un-set company
|
# 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 notification counts
|
||||||
clear_notifications()
|
clear_notifications()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user