Browse Source

fix(minor): incorrect condition

version-14
Rushabh Mehta 3 years ago
parent
commit
d2b9fc89ed
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      frappe/desk/form/load.py

+ 1
- 1
frappe/desk/form/load.py View File

@@ -149,7 +149,7 @@ def add_comments(doc, docinfo):
elif c.comment_type in ('Assignment Completed', 'Assigned'):
docinfo.assignment_logs.append(c)

elif c.comment_type == ('Attachment', 'Attachment Removed'):
elif c.comment_type in ('Attachment', 'Attachment Removed'):
docinfo.attachment_logs.append(c)

elif c.comment_type in ('Info', 'Edit', 'Label'):


Loading…
Cancel
Save