mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-03 21:48:27 +00:00
added on_trash for support ticket
This commit is contained in:
@@ -146,4 +146,8 @@ class DocType(TransactionBase):
|
||||
|
||||
def reopen_ticket(self):
|
||||
webnotes.conn.set(self.doc,'status','Open')
|
||||
update_feed(self.doc)
|
||||
update_feed(self.doc)
|
||||
|
||||
def on_trash(self):
|
||||
webnotes.conn.sql("""update `tabCommunication set support_ticket=""
|
||||
where support_ticket=%s`""", self.doc.name)
|
||||
|
||||
Reference in New Issue
Block a user