There are two companies in the system When i try to delete the one company it showing the message that its linked with employee attendance tool and when i visit the tool and remove the company name from filter still there is same issue how can i get the rid of this Thank You
Traceback (most recent call last):
File “apps/frappe/frappe/app.py”, line 97, in application
response = frappe.api.handle()
File “apps/frappe/frappe/api.py”, line 55, in handle
return frappe.handler.handle()
File “apps/frappe/frappe/handler.py”, line 48, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/handler.py”, line 86, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “apps/frappe/frappe/init.py”, line 1619, in call
return fn(*args, **newargs)
File “apps/frappe/frappe/client.py”, line 280, in delete
delete_doc(doctype, name)
File “apps/frappe/frappe/client.py”, line 510, in delete_doc
frappe.delete_doc(doctype, name, ignore_missing=False)
File “apps/frappe/frappe/init.py”, line 1259, in delete_doc
return frappe.model.delete_doc.delete_doc(
File “apps/frappe/frappe/model/delete_doc.py”, line 138, in delete_doc
raise e
File “apps/frappe/frappe/model/delete_doc.py”, line 129, in delete_doc
check_if_doc_is_linked(doc)
File “apps/frappe/frappe/model/delete_doc.py”, line 290, in check_if_doc_is_linked
raise_link_exists_exception(doc, link_dt, link_dt)
File “apps/frappe/frappe/model/delete_doc.py”, line 374, in raise_link_exists_exception
frappe.throw(
File “apps/frappe/frappe/init.py”, line 548, in throw
msgprint(
File “apps/frappe/frappe/init.py”, line 509, in msgprint
_raise_exception()
File “apps/frappe/frappe/init.py”, line 455, in _raise_exception
raise raise_exception(msg)
frappe.exceptions.LinkExistsError: Cannot delete or cancel because Company Test is linked with Employee Attendance Tool