diff options
| author | Christophe Simonis <chs@odoo.com> | 2018-03-07 18:46:38 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@odoo.com> | 2018-03-07 18:46:38 +0100 |
| commit | 4aa5ec3fa511e42a08318fe66dde3bd57f0d1f09 (patch) | |
| tree | d3de91d0113164ce313d7eff44c2f25c7e95f743 /addons/mail/static/src/xml | |
| parent | 3c821d4035d0c85f691653c47986d8f4c3dfc51d (diff) | |
| parent | d67b410dfcd67d2540628d4f6be0daf8861c4a46 (diff) | |
[MERGE] forward port branch 11.0 up to d67b410dfcd
Diffstat (limited to 'addons/mail/static/src/xml')
| -rw-r--r-- | addons/mail/static/src/xml/thread.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/mail/static/src/xml/thread.xml b/addons/mail/static/src/xml/thread.xml index cf80ed32995..b5f8a1c7849 100644 --- a/addons/mail/static/src/xml/thread.xml +++ b/addons/mail/static/src/xml/thread.xml @@ -271,7 +271,7 @@ </t> <t t-name="mail.Attachment"> - <t t-set="type" t-value="attachment.mimetype.split('/').shift()"/> + <t t-set="type" t-value="attachment.mimetype and attachment.mimetype.split('/').shift()"/> <div t-attf-class="o_attachment #{attachment.upload ? 'o_attachment_uploading' : ''}" t-att-title="attachment.name"> <t t-if="type == 'image'"> <div class="o_image_box"> |
