fix: do not remove assignment when closed (#17613)

This commit is contained in:
Himanshu 2019-05-15 01:37:53 +05:30 committed by Chinmay Pai
parent adf6dcd74a
commit abcb6aea00

View File

@ -32,10 +32,6 @@ class Issue(Document):
self.update_status()
self.set_lead_contact(self.raised_by)
if self.status == "Closed":
from frappe.desk.form.assign_to import clear
clear(self.doctype, self.name)
def on_update(self):
# Add a communication in the issue timeline
if self.flags.create_communication and self.via_customer_portal: