todo fix
This commit is contained in:
parent
89234f2cc9
commit
0736fcb981
1 changed files with 5 additions and 4 deletions
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue