Merge branch 'master' of github.com:webnotes/erpnext into website-wip

This commit is contained in:
Anand Doshi
2013-09-17 11:00:24 +05:30
55 changed files with 706 additions and 190 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)