Explorar el Código

fix(minor): incorrect condition

version-14
Rushabh Mehta hace 3 años
padre
commit
d2b9fc89ed
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      frappe/desk/form/load.py

+ 1
- 1
frappe/desk/form/load.py Ver fichero

@@ -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'):


Cargando…
Cancelar
Guardar