Merge branch 'master' of github.com:webnotes/erpnext
This commit is contained in:
commit
8f72b49eff
@ -137,5 +137,5 @@ class DocType(TransactionBase):
|
||||
update_feed(self.doc)
|
||||
|
||||
def on_trash(self):
|
||||
webnotes.conn.sql("""update `tabCommunication set support_ticket=""
|
||||
where support_ticket=%s`""", self.doc.name)
|
||||
webnotes.conn.sql("""update `tabCommunication` set support_ticket=NULL
|
||||
where support_ticket=%s""", (self.doc.name,))
|
||||
|
Loading…
x
Reference in New Issue
Block a user