diff --git a/erpnext/templates/print_formats/includes/item_grid.html b/erpnext/templates/print_formats/includes/item_grid.html index df1859cde84..1acede89a6a 100644 --- a/erpnext/templates/print_formats/includes/item_grid.html +++ b/erpnext/templates/print_formats/includes/item_grid.html @@ -17,8 +17,8 @@ {{ row.idx }} {{ row.item_name }} - {% if row.item_code != row.item_name -%} -
Item Code: {{ row.item_code}} + {% if row.item_code != row.item_name and not row.meta.get_field("item_code").print_hide -%} +
Item Code: {{ row.item_code }} {%- endif %}