@@ -638,7 +638,7 @@ def run_tests(context, app=None, module=None, doctype=None, test=(), driver=None | |||||
pass | pass | ||||
# sel.close() | # sel.close() | ||||
return ret | |||||
sys.exit(ret) | |||||
@click.command('serve') | @click.command('serve') | ||||
@click.option('--port', default=8000) | @click.option('--port', default=8000) | ||||
@@ -64,13 +64,14 @@ | |||||
"icon": "icon-envelope", | "icon": "icon-envelope", | ||||
"idx": 1, | "idx": 1, | ||||
"in_create": 1, | "in_create": 1, | ||||
"modified": "2015-03-19 05:36:16.813340", | |||||
"modified": "2015-03-31 15:10:57.553836", | |||||
"modified_by": "Administrator", | "modified_by": "Administrator", | ||||
"module": "Email", | "module": "Email", | ||||
"name": "Bulk Email", | "name": "Bulk Email", | ||||
"owner": "Administrator", | "owner": "Administrator", | ||||
"permissions": [ | "permissions": [ | ||||
{ | { | ||||
"delete": 1, | |||||
"email": 1, | "email": 1, | ||||
"permlevel": 0, | "permlevel": 0, | ||||
"print": 1, | "print": 1, | ||||
@@ -252,7 +252,7 @@ def notify_unreplied(): | |||||
"unread_notification_sent": 0, | "unread_notification_sent": 0, | ||||
"creation": ("<", datetime.now() - timedelta(seconds = (email_account.unreplied_for_mins or 30) * 60)), | "creation": ("<", datetime.now() - timedelta(seconds = (email_account.unreplied_for_mins or 30) * 60)), | ||||
"creation": (">", datetime.now() - timedelta(seconds = (email_account.unreplied_for_mins or 30) * 60 * 3)) | "creation": (">", datetime.now() - timedelta(seconds = (email_account.unreplied_for_mins or 30) * 60 * 3)) | ||||
}, debug=True): | |||||
}): | |||||
comm = frappe.get_doc("Communication", comm.name) | comm = frappe.get_doc("Communication", comm.name) | ||||
if frappe.db.get_value(comm.reference_doctype, comm.reference_name, "status")=="Open": | if frappe.db.get_value(comm.reference_doctype, comm.reference_name, "status")=="Open": | ||||