summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2011-11-24 14:46:27 +0100
committerFabien Meghazi <fme@openerp.com>2011-11-24 14:46:27 +0100
commit32d3c44e3edbcff4b4f06df1d72bf2ea348c02cc (patch)
tree847046295472564b246481353945faa0622aed85 /addons/web/static/src/xml
parented3b0ae90bd16dea869a22b28f1d619863bd4e9f (diff)
[FIX] Do not alter field.selection in SelectionField. Clone the array instead.
Revert #1550: debug information should not be altered. bzr revid: fme@openerp.com-20111124134627-mx3k2s22naht07go
Diffstat (limited to 'addons/web/static/src/xml')
-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 0200798f3d5..1fe4d028db4 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -833,7 +833,7 @@
<li t-if="widget.field and widget.field.selection" data-item="selection">
<span class="oe_tooltip_technical_title">Selection:</span>
<ul>
- <li t-foreach="widget.field.selection" t-as="option" t-if="option[0]">
+ <li t-foreach="widget.field.selection" t-as="option">
[<t t-esc="option[0]"/>]
<t t-if="option[1]"> - </t>
<t t-esc="option[1]"/>