[FIX] display value '0' in numerical field, only avoid displaying value when it's actually 'false'
bzr revid: xmo@openerp.com-20110520131302-avzr12r3biaqtgl0
This commit is contained in:
@@ -210,7 +210,7 @@
|
||||
<t t-if="!attrs.invisible">
|
||||
<t t-set="is_button" t-value="column.tag === 'button'"/>
|
||||
<!-- TODO: get correct widget from form -->
|
||||
<t t-if="!is_button and row['data'][column.id].value">
|
||||
<t t-if="!is_button and row['data'][column.id].value !== false">
|
||||
<t t-set="value" t-value="row['data'][column.id].value"/>
|
||||
<t t-esc="value instanceof Array ? value[1] : value"/>
|
||||
</t>
|
||||
|
||||
Reference in New Issue
Block a user