Show item name in item grid view based 'In List View' property

This commit is contained in:
Nabin Hait
2015-06-08 14:22:56 +05:30
parent b63ad44b10
commit 686ef8308a
2 changed files with 5 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
{% $.each(visible_columns || [], function(i, df) { %}
{% var val = doc.get_formatted(df.fieldname);
if((df.fieldname !== "description") && val) { %}
if((df.fieldname !== "description" && df.fieldname !== "item_name") && val) { %}
<div class="row">
<div class="col-xs-4 text-ellipsis">
<strong title="{%= __(df.label) %}">{%= __(df.label) %}:</strong>