瀏覽代碼

fix(minor): incorrect condition

version-14
Rushabh Mehta 3 年之前
父節點
當前提交
d2b9fc89ed
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      frappe/desk/form/load.py

+ 1
- 1
frappe/desk/form/load.py 查看文件

@@ -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…
取消
儲存