This commit is contained in:
Rushabh Mehta 2012-09-17 10:02:20 +05:30
parent 89234f2cc9
commit 0736fcb981

View file

@ -96,12 +96,13 @@ def remove(args=None):
def notify_assignment(assigned_by, owner, doc_type, doc_name, action='CLOSE', notify=0):
"""
Notify assignee that there is a change in assignment
"""
if assigned_by==webnotes.session['user']:
return
"""
if not (assigned_by and owner and doc_type and doc_name): return
# self assignment / closing - no message
if assigned_by==owner:
return
from webnotes.boot import get_fullnames
user_info = get_fullnames()