mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-13 01:34:10 +00:00
Merge branch 'stable'
This commit is contained in:
@@ -48,7 +48,13 @@ class DocType(TransactionBase):
|
||||
where parent = %s order by creation desc limit 1
|
||||
""", self.doc.name)
|
||||
|
||||
return '\n\n=== In response to ===\n\n' + tmp[0][0]
|
||||
if not tmp:
|
||||
tmp = webnotes.conn.sql("""
|
||||
SELECT description from `tabSupport Ticket`
|
||||
where name = %s
|
||||
""", self.doc.name)
|
||||
|
||||
return '\n\n=== In response to ===\n\n' + tmp[0][0]
|
||||
|
||||
def make_response_record(self, response, from_email = None, content_type='text/plain'):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user