[FIX] only select rows if select_view_id *is set* and matches the record's id
bzr revid: xmo@openerp.com-20120702110530-54t24gh0lo1cctsv
This commit is contained in:
parent
718ae91920
commit
70d5ffb73b
|
@ -645,7 +645,7 @@
|
|||
</td>
|
||||
</t>
|
||||
<th t-if="options.selectable" class="oe-record-selector" width="1">
|
||||
<t t-set="checked" t-value="options.select_view_id == record.get('id') ? 'checked' : null"/>
|
||||
<t t-set="checked" t-value="(options.select_view_id and options.select_view_id == record.get('id')) ? 'checked' : null"/>
|
||||
<input t-if="options.radio" type="radio" name="radiogroup" t-att-checked="checked"/>
|
||||
<input t-if="!options.radio" type="checkbox" name="radiogroup" t-att-checked="checked"/>
|
||||
</th>
|
||||
|
|
Loading…
Reference in New Issue