diff --git a/frappe/templates/print_formats/standard.html b/frappe/templates/print_formats/standard.html index 971967e2b1..43fe020b2a 100644 --- a/frappe/templates/print_formats/standard.html +++ b/frappe/templates/print_formats/standard.html @@ -23,8 +23,8 @@ {% for section in page %}
{%- if doc._line_breaks and loop.index != 1 -%}
{%- endif -%} - {%- if doc._show_section_headings and section.label -%} -

{{ section.label }}

+ {%- if doc._show_section_headings and section.label and section.has_data -%} +

{{ _(section.label) }}

{%- endif -%} {% for column in section.columns %}