[FIX] uploader widget: use the field string instead of an hardcoded 'File'.
bzr revid: tde@openerp.com-20130308092532-w24qj0kxd9374s1u
This commit is contained in:
parent
522a639035
commit
a82042a6b1
|
@ -1303,7 +1303,7 @@
|
|||
<div class="oe_add" t-if="!widget.get('effective_readonly')">
|
||||
<!-- uploader of file -->
|
||||
<button class="oe_attach"><span class="oe_e">'</span></button>
|
||||
<span class='oe_attach_label'>File</span>
|
||||
<span class='oe_attach_label'><t t-esc="widget.string"/></span>
|
||||
<t t-call="HiddenInputFile">
|
||||
<t t-set="fileupload_id" t-value="widget.fileupload_id"/>
|
||||
<t t-set="fileupload_action" t-translation="off">/web/binary/upload_attachment</t>
|
||||
|
|
Loading…
Reference in New Issue