[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
This commit is contained in:
@@ -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]"/>
|
||||
|
||||
Reference in New Issue
Block a user