Hi
I have been looking but cannot seem to find where I can customise the assignement email-template.
Would appreciate a pointer in the right direction ?
V15
Hi
I have been looking but cannot seem to find where I can customise the assignement email-template.
Would appreciate a pointer in the right direction ?
V15
Does anyone have more detail about something like this ?
FRom what I can make out, I would have to modify internal files in ERPNExt to do this
becasue the “assignment” process doe snot seem to use an email-template ?
I still haven’t tested the email feature in frappe / erpnext, but I think there’s more than one path for you to follow, it depends on what you want:
To send emails after assignment, I believe the easiest way is creating a Notification
, defining the assignment condition:
https://docs.frappe.io/erpnext/user/manual/en/notifications
It is possible to just set the Subject / Response or use HTML to customize emails when creating the Notification, or creating a Email Template:
https://docs.frappe.io/erpnext/user/manual/en/email-template
You can automate email sending by creating a new Workflow or, if you want to get in the code, you can do it using Doc Events and hooks:
https://docs.frappe.io/erpnext/user/manual/en/workflows
https://docs.frappe.io/framework/user/en/guides/app-development/executing-code-on-doctype-events
Fixtures and Doc Events (using hooks) in Frappe Framework!
YouTube · Build With Hussain
To use dynamic subject / messages, you have to learn about Jinja:
https://docs.frappe.io/framework/user/en/api/jinja
Hope it helps.