diff options
| author | Christophe Matthieu <chm@openerp.com> | 2013-11-28 14:46:07 +0100 |
|---|---|---|
| committer | Christophe Matthieu <chm@openerp.com> | 2013-11-28 14:46:07 +0100 |
| commit | e468eeb9b30af8ff54c006657d79f5cff32919c4 (patch) | |
| tree | 686dd1dca56a6cb9a130728b31aa2cf09c408e42 /addons/web/static/src/xml | |
| parent | fbb5ddce184b70814681e9cc843eb53bc4031873 (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.xml | 2 |
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<100)" t-attf-title="{(file.name || file.filename) + (file.date?' \n('+file.date+')':'' )}" t-attf-name="{file.name || file.filename}"> |
