[fix] Change communication to Linked
Currently, the Request for Quotation emails are not linked to the RFQ document. This resolves that issue. https://discuss.erpnext.com/t/open-communications-for-rfq/17184
This commit is contained in:
parent
07fa5f1377
commit
8d083f0d10
@ -131,7 +131,8 @@ class RequestforQuotation(BuyingController):
|
|||||||
|
|
||||||
def send_email(self, data, sender, subject, message, attachments):
|
def send_email(self, data, sender, subject, message, attachments):
|
||||||
make(subject = subject, content=message,recipients=data.email_id,
|
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))
|
frappe.msgprint(_("Email sent to supplier {0}").format(data.supplier))
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user