removed next_contact in quotation, fixed regex to convert relative links to absolute

This commit is contained in:
Rushabh Mehta
2012-12-19 12:46:03 +05:30
parent 60ec6ba975
commit 40ca2c681a
6 changed files with 111 additions and 246 deletions

View File

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