fix in support ticket deletion
This commit is contained in:
parent
726963c153
commit
8e8f5f0878
@ -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