[Fix]column name in tree view can't get value of String attribute.

bzr revid: vja@tinyerp.com-20120814122801-mspq40qkjh5f6x20
This commit is contained in:
Vishmita
2012-08-14 17:58:01 +05:30
parent 3e797902fc
commit f1dd8b488d
+1 -1
View File
@@ -599,7 +599,7 @@
<tr>
<th t-foreach="fields_view" t-as="field"
t-if="!field.attrs.modifiers.tree_invisible">
<t t-esc="fields[field.attrs.name].string" />
<t t-esc="field_value.attrs.string || fields[field.attrs.name].string" />
</th>
</tr>
</thead>