projects
/
odoo
/
odoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8071bb
)
[FIX] mail_group: use default picture disc if not mimetype has been defined (else tb)
author
Jeremy Kersten
<jke@odoo.com>
Wed, 12 Nov 2014 16:30:45 +0000
(17:30 +0100)
committer
Jeremy Kersten
<jke@odoo.com>
Thu, 13 Nov 2014 13:48:13 +0000
(14:48 +0100)
addons/website_mail_group/views/website_mail_group.xml
patch
|
blob
|
history
diff --git
a/addons/website_mail_group/views/website_mail_group.xml
b/addons/website_mail_group/views/website_mail_group.xml
index
b72f5f5
..
b8172e4
100644
(file)
--- a/
addons/website_mail_group/views/website_mail_group.xml
+++ b/
addons/website_mail_group/views/website_mail_group.xml
@@
-212,7
+212,7
@@
t-att-title="attachment.name"/>
</t>
<t t-if="attachment.file_type != 'webimage'">
- <img t-att-src="'/mail/static/src/img/mimetypes/' + attachment.file_type + '.png'"
+ <img t-att-src="'/mail/static/src/img/mimetypes/' + (attachment.file_type or 'disk') + '.png'"
class='oe_attachment_webimage'
t-att-title="attachment.name"/>
</t>