mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 18:21:22 +00:00
fix: do not remove assignment when closed (#17613)
This commit is contained in:
@@ -32,10 +32,6 @@ class Issue(Document):
|
|||||||
self.update_status()
|
self.update_status()
|
||||||
self.set_lead_contact(self.raised_by)
|
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):
|
def on_update(self):
|
||||||
# Add a communication in the issue timeline
|
# Add a communication in the issue timeline
|
||||||
if self.flags.create_communication and self.via_customer_portal:
|
if self.flags.create_communication and self.via_customer_portal:
|
||||||
|
|||||||
Reference in New Issue
Block a user