|
@@ -292,7 +292,7 @@ def get_common_email_args(doc): |
|
|
common_args = { |
|
|
common_args = { |
|
|
'template': 'workflow_action', |
|
|
'template': 'workflow_action', |
|
|
'header': 'Workflow Action', |
|
|
'header': 'Workflow Action', |
|
|
'attachments': [frappe.attach_print(doctype, docname , file_name=docname)], |
|
|
|
|
|
|
|
|
'attachments': [frappe.attach_print(doctype, docname, file_name=docname, doc=doc)], |
|
|
'subject': subject, |
|
|
'subject': subject, |
|
|
'message': response |
|
|
'message': response |
|
|
} |
|
|
} |
|
|