Merge pull request #6772 from frappe/bcornwellmott-patch-3

[fix] Change communication to Linked
This commit is contained in:
Nabin Hait 2016-11-01 17:31:38 +05:30 committed by GitHub
commit 8015d60e97

View File

@ -131,7 +131,8 @@ class RequestforQuotation(BuyingController):
def send_email(self, data, sender, subject, message, attachments):
make(subject = subject, content=message,recipients=data.email_id,
sender=sender,attachments = attachments, send_email=True)["name"]
sender=sender,attachments = attachments, send_email=True,
doctype=self.doctype, name=self.name)["name"]
frappe.msgprint(_("Email sent to supplier {0}").format(data.supplier))