From 0e5af04c104fed6acbdf4891b3f377fa8c44085f Mon Sep 17 00:00:00 2001 From: Corentin Forler Date: Wed, 18 Sep 2024 10:05:04 +0200 Subject: [PATCH] fix(print)!: Re-add labels on Text Editor fields --- frappe/templates/print_formats/standard_macros.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frappe/templates/print_formats/standard_macros.html b/frappe/templates/print_formats/standard_macros.html index 273ce65a13..3c6a73cfc4 100644 --- a/frappe/templates/print_formats/standard_macros.html +++ b/frappe/templates/print_formats/standard_macros.html @@ -3,7 +3,7 @@ {{ render_table(df, doc) }} {%- elif df.fieldtype=="HTML" and df.options -%}
{{ frappe.render_template(df.options, {"doc": doc}) or "" }}
- {%- elif df.fieldtype in ("Text", "Text Editor", "Code", "Long Text") -%} + {%- elif df.fieldtype in ("Text", "Code", "Long Text") -%} {{ render_text_field(df, doc) }} {%- elif df.fieldtype in ("Image", "Attach Image") and (