diff options
| author | Denis Ledoux <dle@odoo.com> | 2014-09-10 13:12:21 +0200 |
|---|---|---|
| committer | Denis Ledoux <dle@odoo.com> | 2014-09-10 13:12:21 +0200 |
| commit | f8bd25c852ecd7e49b1471f9ac3e71e7d0c945d1 (patch) | |
| tree | 904db50bf6ed232d1744339d4d81aed29967aca1 /addons | |
| parent | 41cf52c91722a64748c39b370524ae8e61a93fc2 (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')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 6 |
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> |
