cleanup get_support_ticket

This commit is contained in:
Rushabh Mehta 2013-01-15 14:30:08 +05:30
parent c6bdbe6203
commit 8a8c5ad74c

View File

@ -64,7 +64,7 @@ class SupportMailbox(POP3Mailbox):
make(content=mail.content, sender=mail.from_email, make(content=mail.content, sender=mail.from_email,
doctype="Support Ticket", doctype="Support Ticket",
name=thread_id, lead = st.doc.lead, contact=st.doc.contact) name=thread_id, lead = ticket.doc.lead, contact=ticket.doc.contact)
def send_auto_reply(self, d): def send_auto_reply(self, d):
signature = self.email_settings.fields.get('support_signature') or '' signature = self.email_settings.fields.get('support_signature') or ''