[MERGE] tree view: honor string attribute on fields trunk-bug-1026960-vja

bzr revid: al@openerp.com-20120930154022-fgg3wi2cjup00kaz
This commit is contained in:
Antony Lesuisse
2012-09-30 17:40:22 +02:00
+1 -1
View File
@@ -577,7 +577,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>