feat: use modified by or owner to send notification from
This commit is contained in:
parent
0866526d11
commit
200211e11e
1 changed files with 1 additions and 0 deletions
|
|
@ -181,6 +181,7 @@ def get_context(context):
|
|||
'document_type': doc.doctype,
|
||||
'document_name': doc.name,
|
||||
'subject': subject,
|
||||
'from_user': doc.modified_by or doc.owner,
|
||||
'email_content': frappe.render_template(self.message, context),
|
||||
'attached_file': attachments and json.dumps(attachments[0])
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue