support ticket response deprecated, moved to communication

This commit is contained in:
Rushabh Mehta 2012-11-24 15:40:52 +05:30
parent bf09c672cd
commit 24447791b8

View File

@ -64,7 +64,7 @@ class DocType(TransactionBase):
def last_response(self): def last_response(self):
"""return last response""" """return last response"""
tmp = webnotes.conn.sql("""select mail from `tabCommunication` tmp = webnotes.conn.sql("""select content from `tabCommunication`
where support_ticket = %s order by creation desc limit 1 where support_ticket = %s order by creation desc limit 1
""", self.doc.name) """, self.doc.name)