[fix] for notification

This commit is contained in:
Rushabh Mehta
2018-06-11 17:20:30 +05:30
parent 62805e2101
commit 0d19744b17
3 changed files with 3 additions and 7 deletions

View File

@@ -166,11 +166,11 @@ def import_email_alert():
email_alert.insert()
# trigger the first message!
from frappe.email.doctype.email_alert.email_alert import trigger_daily_alerts
from frappe.email.doctype.notification.notification import trigger_daily_alerts
trigger_daily_alerts()
def test_sample():
frappe.db.sql('delete from `tabEmail Alert`')
frappe.db.sql('delete from `tabNotification`')
frappe.db.sql('delete from tabProject')
frappe.db.sql('delete from tabTask')
make_projects('Education')