[minor] added frappe.utils in email alerts (#2903)
This commit is contained in:
parent
395d7b9756
commit
ec1f8e445e
1 changed files with 1 additions and 1 deletions
|
|
@ -197,5 +197,5 @@ def evaluate_alert(doc, alert, event):
|
|||
frappe.throw(_("Error while evaluating Email Alert {0}. Please fix your template.").format(alert))
|
||||
|
||||
def get_context(doc):
|
||||
return {"doc": doc, "nowdate": nowdate}
|
||||
return {"doc": doc, "nowdate": nowdate, "frappe.utils": frappe.utils}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue