[print-format-builder] fixed left column, email alert fix

This commit is contained in:
Rushabh Mehta 2015-03-26 13:54:10 +05:30
parent 06f46a2458
commit 45f2c4ee62

View file

@ -27,7 +27,7 @@ def trigger_email_alerts(doc, method=None):
# don't send email alerts while syncing or patching
return
if method = "daily":
if method == "daily":
for alert in frappe.db.sql_list("""select name from `tabEmail Alert`
where event in ('Days Before', 'Days After') and enabled=1"""):