fixed empty email body
This commit is contained in:
parent
fa9d64bb1a
commit
2473bdfe89
3 changed files with 3 additions and 3 deletions
|
|
@ -128,7 +128,7 @@ def send_estimate_email(estimate_name):
|
|||
# email = "casey@shilohcode.com"
|
||||
template_name = "Quote with Actions - SNW"
|
||||
template = frappe.get_doc("Email Template", template_name)
|
||||
message = frappe.render_template(template.response, {"doc": quotation})
|
||||
message = frappe.render_template(template.response, {"name": quotation.name})
|
||||
subject = frappe.render_template(template.subject, {"doc": quotation})
|
||||
html = frappe.get_print("Quotation", quotation.name, print_format="Quotation - SNW - Standard", letterhead=True)
|
||||
print("DEBUG: Generated HTML for PDF.")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue