diff options
| author | Christophe Simonis <chs@odoo.com> | 2015-07-07 18:13:57 +0200 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2015-07-07 18:13:57 +0200 |
| commit | fe92deaa1d6654f4034a6091ded36c5549e08bbe (patch) | |
| tree | f6e6b04c292f07f942a2cdf46743fcc01e39b48e /addons/mail/static/src/xml/mail.xml | |
| parent | 73cb55284b8a52e4cd6bb21e3a4758df3e50cc92 (diff) | |
| parent | 2de301df2477d1f5f5cb76a98b6c5605271ec3e5 (diff) | |
[MERGE] forward port of branch 8.0 up to 2de301d
Diffstat (limited to 'addons/mail/static/src/xml/mail.xml')
| -rw-r--r-- | addons/mail/static/src/xml/mail.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/mail.xml b/addons/mail/static/src/xml/mail.xml index 05ed0debb5d..554a9cafa05 100644 --- a/addons/mail/static/src/xml/mail.xml +++ b/addons/mail/static/src/xml/mail.xml @@ -92,7 +92,7 @@ <t t-if="attachment.file_type_icon !== 'webimage'"> <div t-attf-class="oe_attachment #{attachment.upload ? 'oe_uploading' : ''}"> <a t-att-href='attachment.url' target="_blank"> - <img t-att-src="'/mail/static/src/img/mimetypes/' + attachment.file_type_icon + '.png'"></img> + <img t-att-src="'/mail/static/src/img/mimetypes/' + (attachment.file_type_icon or 'unknown') + '.png'"></img> <div class='oe_name'><t t-raw='attachment.name' /></div> </a> <div class="oe_delete" t-if="!attachment.upload"> |
