3
0
Fork 0

[IMP] hide function images if result is null;

7.0
Sylvain LE GAL 2015-04-13 23:10:59 +02:00
parent 42202fc141
commit 90c0c4c6d2
1 changed files with 2 additions and 2 deletions

View File

@ -72,7 +72,7 @@
<div style="padding-left: 0.5em; height: 115px;"> <div style="padding-left: 0.5em; height: 115px;">
</div> </div>
<t t-if="record.field_id.raw_value != '' and record.field_function.raw_value != ''"> <t t-if="record.field_id.raw_value != '' and record.field_function.raw_value != '' and record.count.raw_value !=0">
<div class="tile_count_with_computed_value"> <div class="tile_count_with_computed_value">
<span><field name="count"/></span> <span><field name="count"/></span>
</div> </div>
@ -81,7 +81,7 @@
<span><field name="computed_value"/></span> <span><field name="computed_value"/></span>
</div> </div>
</t> </t>
<t t-if="!(record.field_id.raw_value != '' and record.field_function.raw_value != '')"> <t t-if="!(record.field_id.raw_value != '' and record.field_function.raw_value != '' and record.count.raw_value !=0)">
<div class="tile_count_without_computed_value"> <div class="tile_count_without_computed_value">
<span><field name="count"/></span> <span><field name="count"/></span>
</div> </div>