diff --git a/frappe/core/doctype/communication/communication.py b/frappe/core/doctype/communication/communication.py index 40b102735b..de629d04ca 100644 --- a/frappe/core/doctype/communication/communication.py +++ b/frappe/core/doctype/communication/communication.py @@ -668,7 +668,14 @@ def update_parent_document_on_communication(doc): options = (status_field.options or "").splitlines() # if status has a "Open" option and status is "Replied", then update the status for received communication - if ("Open" in options) and parent.status == "Replied" and doc.sent_or_received == "Received": + if ( + ("Open" in options) + and parent.status == "Replied" + and doc.sent_or_received == "Received" + or ( + parent.doctype == "Issue" and ("Open" in options) and doc.sent_or_received == "Received" + ) # For 'Issue', current status is not considered. + ): parent.db_set("status", "Open") parent.run_method("handle_hold_time", "Replied") apply_assignment_rule(parent)