summaryrefslogtreecommitdiff
path: root/addons/web/static/src/xml
diff options
context:
space:
mode:
authorDenis Ledoux <dle@odoo.com>2014-09-10 13:12:21 +0200
committerDenis Ledoux <dle@odoo.com>2014-09-10 13:12:21 +0200
commitf8bd25c852ecd7e49b1471f9ac3e71e7d0c945d1 (patch)
tree904db50bf6ed232d1744339d4d81aed29967aca1 /addons/web/static/src/xml
parent41cf52c91722a64748c39b370524ae8e61a93fc2 (diff)
[FIX] web: FieldBinaryImage upload file at the right place
Before this, the div wasn't in the right place in the form view for instance, in the product form view, the third checkbox triggered this binary upload file opw-613318 task-8982
Diffstat (limited to 'addons/web/static/src/xml')
-rw-r--r--addons/web/static/src/xml/base.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml
index c5e0f743335..cfaa54e5282 100644
--- a/addons/web/static/src/xml/base.xml
+++ b/addons/web/static/src/xml/base.xml
@@ -1298,10 +1298,10 @@
<img t-att-src='_s + "/web/static/src/img/throbber.gif"' width="16" height="16"/>
<b>Uploading ...</b>
</div>
+ <t t-call="HiddenInputFile">
+ <t t-set="fileupload_id" t-value="widget.fileupload_id"/>
+ </t>
</div>
- <t t-call="HiddenInputFile">
- <t t-set="fileupload_id" t-value="widget.fileupload_id"/>
- </t>
</t>
</span>
</t>