From 62aa086e80321effce54b24cf8fb32c3744267af Mon Sep 17 00:00:00 2001 From: Rushabh Mehta Date: Fri, 7 Sep 2012 10:05:13 +0530 Subject: [PATCH] todo: assignment notification fix --- erpnext/utilities/page/todo/todo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/utilities/page/todo/todo.py b/erpnext/utilities/page/todo/todo.py index 9495241af6..6aadc9afc1 100644 --- a/erpnext/utilities/page/todo/todo.py +++ b/erpnext/utilities/page/todo/todo.py @@ -57,7 +57,7 @@ def notify_assignment(d): doc_name = d.reference_name assigned_by = d.assigned_by - if doc_type and doc_name and assigned_by and assigned_by != d.owner: + if doc_type and doc_name and assigned_by: from webnotes.widgets.form import assign_to assign_to.notify_assignment(assigned_by, d.owner, doc_type, doc_name) \ No newline at end of file