summaryrefslogtreecommitdiff
path: root/addons/web/static/src
diff options
context:
space:
mode:
authorqsm-odoo <qsm@odoo.com>2015-08-21 16:47:35 +0200
committerqsm-odoo <qsm@odoo.com>2015-08-24 15:01:10 +0200
commitb904cd876fce91029cb75f4eeb30bfa2b72c5d52 (patch)
tree3b7c92dd9bf3895467258f9b901544d6062bc24d /addons/web/static/src
parent7e45e3a6857118dd05541a58fcd8a362edf3b17b (diff)
[FIX] web: FieldRadio without any value
When a FieldRadio had no selected value, a traceback occured when trying to render the widget in readonly mode.
Diffstat (limited to 'addons/web/static/src')
-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 07bf5b97bd9..9a73d59e03f 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -805,7 +805,7 @@
</div>
</t>
</span>
- <span t-if="widget.get('effective_readonly')" class="oe_radio_readonly"><t t-esc="widget.get('value')[1]"/></span>
+ <span t-if="widget.get('effective_readonly')" class="oe_radio_readonly"/>
</span>
</t>
<t t-name="FieldMany2One">