summaryrefslogtreecommitdiff
path: root/addons/web/static
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-07-02 13:05:30 +0200
committerXavier Morel <xmo@openerp.com>2012-07-02 13:05:30 +0200
commit70d5ffb73ba4d8fe9aa0fdea386053100b683d05 (patch)
tree33c51062403e6873bbe720ab1763ddd75ef674d6 /addons/web/static
parent718ae91920f7cafd8d7e50852f073755d5c29a32 (diff)
[FIX] only select rows if select_view_id *is set* and matches the record's id
bzr revid: xmo@openerp.com-20120702110530-54t24gh0lo1cctsv
Diffstat (limited to 'addons/web/static')
-rw-r--r--addons/web/static/src/xml/base.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index a7c99e65b2c..66a1c02e448 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -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>