mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-18 20:49:19 +00:00
[fix] [minor] communication related cleanup
This commit is contained in:
@@ -21,9 +21,4 @@ class DocType(TransactionBase):
|
||||
else:
|
||||
status = "Open"
|
||||
|
||||
webnotes.conn.set(self.doc, 'status', status)
|
||||
|
||||
def on_trash(self):
|
||||
webnotes.conn.sql("""delete from `tabCommunication`
|
||||
where job_applicant=%s""", self.doc.name)
|
||||
|
||||
webnotes.conn.set(self.doc, 'status', status)
|
||||
Reference in New Issue
Block a user