Merge branch 'master' of github.com:webnotes/erpnext

This commit is contained in:
Rushabh Mehta 2012-11-27 12:37:18 +01:00
commit 8f72b49eff

View File

@ -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,))