todo: assignment notification fix
This commit is contained in:
parent
38cc3d6534
commit
62aa086e80
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user