Fix syntax

This commit is contained in:
bcornwellmott 2016-10-31 08:53:37 -07:00 committed by GitHub
parent 8d083f0d10
commit 3af67fb2c3

View File

@ -132,7 +132,7 @@ 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,
+ doctype=self.doctype, name = self.name)["name"]
doctype=self.doctype, name=self.name)["name"]
frappe.msgprint(_("Email sent to supplier {0}").format(data.supplier))