Vishmita Jadeja (openerp) has proposed merging
lp:~openerp-dev/openerp-web/trunk-bug-1026960-vja into lp:openerp-web.
Requested reviews:
OpenERP R&D Web Team (openerp-dev-web)
Related bugs:
Bug #1026960 in OpenERP Web: "column name in tree view can't get value of
String attribute"
https://bugs.launchpad.net/openerp-web/+bug/1026960
For more details, see:
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-1026960-vja/+merge/121986
In tree view, column name can't get value of String attribute.
--
https://code.launchpad.net/~openerp-dev/openerp-web/trunk-bug-1026960-vja/+merge/121986
Your team OpenERP R&D Team is subscribed to branch
lp:~openerp-dev/openerp-web/trunk-bug-1026960-vja.
=== modified file 'addons/web/static/src/xml/base.xml'
--- addons/web/static/src/xml/base.xml 2012-08-28 14:46:13 +0000
+++ addons/web/static/src/xml/base.xml 2012-08-30 05:54:19 +0000
@@ -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>
_______________________________________________
Mailing list: https://launchpad.net/~openerp-dev-gtk
Post to : [email protected]
Unsubscribe : https://launchpad.net/~openerp-dev-gtk
More help : https://help.launchpad.net/ListHelp