[FIX] uploader widget: use the field string instead of an hardcoded 'File'.

bzr revid: tde@openerp.com-20130308092532-w24qj0kxd9374s1u
This commit is contained in:
Thibault Delavallée 2013-03-08 10:25:32 +01:00
parent 522a639035
commit a82042a6b1
1 changed files with 1 additions and 1 deletions

View File

@ -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>