diff options
| author | Thibault Delavallée <tde@openerp.com> | 2014-05-05 16:51:38 +0200 |
|---|---|---|
| committer | Thibault Delavallée <tde@openerp.com> | 2014-05-05 16:51:38 +0200 |
| commit | 80c77d0355b60f578beabd2c3f87285e24d22222 (patch) | |
| tree | 1bcaf29051079908fed33e627c3f56fc8941400f /addons/web/static/src/xml | |
| parent | 272b71b2a0e2fcf777ad2e6004374892b06892e3 (diff) | |
[FIX] web: view_form: fixed effective_readonly behavior of the
binary multi files widget. The option to add an attachment should
be available only in edit mode.
lp bug: https://launchpad.net/bugs/1314974 fixed
bzr revid: tde@openerp.com-20140505145138-x9iwzp74ha2q0bp2
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 82a3822a9c8..bda1a2b8fc3 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1336,7 +1336,7 @@ <t t-name="FieldBinaryFileUploader"> <div t-att-style="widget.node.attrs.style" t-attf-class="oe_fileupload #{widget.node.attrs.class ? widget.node.attrs.class :''}"> <div class="oe_placeholder_files"/> - <div class="oe_add" t-if="!widget.get('effective_readonly')"> + <div class="oe_add"> <!-- uploader of file --> <button class="oe_attach"><span class="oe_e">'</span></button> <span class='oe_attach_label'><t t-esc="widget.string"/></span> |
