[fix] [minor] communication related cleanup

This commit is contained in:
Anand Doshi
2013-09-12 19:10:05 +05:30
parent 24416f92cc
commit 3a6f4f882a
7 changed files with 9 additions and 30 deletions

View File

@@ -55,7 +55,5 @@ class DocType(TransactionBase):
self.doc.is_primary_contact = 1
def on_trash(self):
webnotes.conn.sql("""update tabCommunication set contact='' where contact=%s""",
self.doc.name)
webnotes.conn.sql("""update `tabSupport Ticket` set contact='' where contact=%s""",
self.doc.name)