This commit is contained in:
Rushabh Mehta
2016-06-28 17:11:32 +05:30
parent 6703792472
commit 878dfec46a
2 changed files with 2 additions and 1 deletions

View File

@@ -90,7 +90,7 @@ def post_process(doctype, data):
doc.set_indicator()
doc.status_display = ", ".join(doc.status_display)
doc.items_preview = ", ".join([d.item_name for d in doc.items])
doc.items_preview = ", ".join([d.item_name for d in doc.items if d.item_name])
result.append(doc)
return result