From ceb449c75b830c1c18adffd9a6e68557507b76c4 Mon Sep 17 00:00:00 2001 From: ljain112 Date: Thu, 24 Oct 2024 18:10:08 +0530 Subject: [PATCH] fix: Handle None value for item description in customer portal invoice view --- erpnext/templates/pages/order.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/erpnext/templates/pages/order.html b/erpnext/templates/pages/order.html index 97269dcf639..998869897d5 100644 --- a/erpnext/templates/pages/order.html +++ b/erpnext/templates/pages/order.html @@ -173,11 +173,11 @@
{{ d.item_code }}
- {{ html2text(d.description) | truncate(140) }} + {{ html2text(d.description or "") | truncate(140) }}
{{ _("Qty ") }}({{ d.get_formatted("qty") }})
-{% endmacro %} \ No newline at end of file +{% endmacro %}