todo: assignment notification fix

This commit is contained in:
Rushabh Mehta 2012-09-07 10:05:13 +05:30
parent 38cc3d6534
commit 62aa086e80

View File

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