summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorChristophe Matthieu <chm@openerp.com>2013-11-28 14:46:07 +0100
committerChristophe Matthieu <chm@openerp.com>2013-11-28 14:46:07 +0100
commite468eeb9b30af8ff54c006657d79f5cff32919c4 (patch)
tree686dd1dca56a6cb9a130728b31aa2cf09c408e42 /addons/web/static/src/xml
parentfbb5ddce184b70814681e9cc843eb53bc4031873 (diff)
[FIX] web_form: FieldMany2ManyBinaryMultiFiles error when rendering twice (with an onchange for e.g.)
bzr revid: chm@openerp.com-20131128134607-2fisdnoq0qgpvibx
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 60a344467c0..78398071c22 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1334,7 +1334,7 @@
<t t-name="FieldBinaryFileUploader.files">
<div class="oe_attachments">
<t t-if="!widget.get('effective_readonly')">
- <t t-foreach="widget.get('value')" t-as="id">
+ <t t-foreach="values" t-as="id">
<t t-set="file" t-value="widget.data[id]"/>
<div class="oe_attachment">
<span t-if="(file.upload or file.percent_loaded&lt;100)" t-attf-title="{(file.name || file.filename) + (file.date?' \n('+file.date+')':'' )}" t-attf-name="{file.name || file.filename}">