diff options
| author | Christophe Simonis <chs@odoo.com> | 2014-08-20 17:51:20 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2014-08-20 17:51:20 +0200 |
| commit | ddef2dd10aabf0e77bf63c462d5f29e353b6b53a (patch) | |
| tree | 9223b5781b9aa173b45539e652f6d7c7717f2c4e /addons/web/static/src/xml | |
| parent | e2532dd8e0ee1b10fa0e1e06bb1c869d4a56c833 (diff) | |
| parent | 8f13e8320edaca58fe19bb4ed4a2ad515f1c8515 (diff) | |
[MERGE] forward port of branch saas-3 up to 8f13e83
Diffstat (limited to 'addons/web/static/src/xml')
| -rw-r--r-- | addons/web/static/src/xml/base.xml | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/addons/web/static/src/xml/base.xml b/addons/web/static/src/xml/base.xml index 864353ab891..238058c0ce9 100644 --- a/addons/web/static/src/xml/base.xml +++ b/addons/web/static/src/xml/base.xml @@ -1266,16 +1266,18 @@ </t> <t t-name="FieldBinaryImage"> <span class="oe_form_field oe_form_field_image" t-att-style="widget.node.attrs.style"> - <div class="oe_form_field_image_controls oe_edit_only"> - <t t-call="HiddenInputFile"> - <t t-set="fileupload_id" t-value="widget.fileupload_id"/> - Edit - </t> - <div class="oe_form_binary_progress" style="display: none"> - <img t-att-src='_s + "/web/static/src/img/throbber.gif"' width="16" height="16"/> - <b>Uploading ...</b> + <t t-if="!widget.get('effective_readonly')"> + <div class="oe_form_field_image_controls oe_edit_only"> + <t t-call="HiddenInputFile"> + <t t-set="fileupload_id" t-value="widget.fileupload_id"/> + Edit + </t> + <div class="oe_form_binary_progress" style="display: none"> + <img t-att-src='_s + "/web/static/src/img/throbber.gif"' width="16" height="16"/> + <b>Uploading ...</b> + </div> </div> - </div> + </t> </span> </t> <t t-name="FieldBinaryImage-img"> |
