From 8a72845ee6fa7f954e6915272ea722f487907171 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 29 Oct 2024 22:38:41 +0530 Subject: [PATCH] fix: Handle None value for item description in customer portal invoice view (backport #43823) (#43889) fix: Handle None value for item description in customer portal invoice view (cherry picked from commit ceb449c75b830c1c18adffd9a6e68557507b76c4) Co-authored-by: ljain112 --- 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 6c59a9688dc..388feb9eba9 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 %}