Skip to content

Commit

Permalink
fix: ticket reopen: remove unwanted condition (#1244)
Browse files Browse the repository at this point in the history
  • Loading branch information
ssiyad committed Jun 5, 2023
1 parent adf2d4f commit 1b9f42e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions helpdesk/helpdesk/doctype/hd_ticket/hd_ticket.py
Original file line number Diff line number Diff line change
Expand Up @@ -663,9 +663,6 @@ def get_comments(self):

@frappe.whitelist()
def reopen(self):
if self.status == "Closed":
frappe.throw(_("Closed tickets cannot be reopened"))

if self.status != "Resolved":
frappe.throw(_("Only resolved tickets can be reopened"))

Expand Down

0 comments on commit 1b9f42e

Please sign in to comment.