[minor] added frappe.utils in email alerts (#2903)

This commit is contained in:
Makarand Bauskar 2017-03-23 14:59:26 +05:30 committed by Rushabh Mehta
parent 395d7b9756
commit ec1f8e445e

View file

@ -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}