diff options
| author | Lucas Lefèvre <lul@odoo.com> | 2019-09-05 14:12:14 +0000 |
|---|---|---|
| committer | Lucas Lefèvre <lul@odoo.com> | 2019-09-05 14:12:14 +0000 |
| commit | cb80d0533ebaf74ff51488b0d0107ee476b1533c (patch) | |
| tree | 4abd6ce235608bc7d6570d0e4bd784b62c4f45a7 /addons | |
| parent | d6dcbce4fb5c138a4a6b6cd2ed21ef5e00f34958 (diff) | |
[FIX] website_livechat: Use correct image field
Go to the frontend "Live Support" menu => server error.
Since commit f0ffbea `im_livechat.channel` no longer has a field
`image_64`.
Diffstat (limited to 'addons')
| -rw-r--r-- | addons/website_livechat/views/website_livechat.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_livechat/views/website_livechat.xml b/addons/website_livechat/views/website_livechat.xml index 452c19c4f7e..0d1dd069ac0 100644 --- a/addons/website_livechat/views/website_livechat.xml +++ b/addons/website_livechat/views/website_livechat.xml @@ -225,7 +225,7 @@ <t t-foreach="channels" t-as="channel"> <div t-attf-class="media#{' mt-3' if channel_index else ''}"> <a t-attf-href="/livechat/channel/#{ slug(channel)}"> - <img t-att-src="channel.image_64 and image_data_uri(channel.image_64) or '/web/static/src/img/placeholder.png'" t-att-alt="channel.name" /> + <img t-att-src="channel.image_128 and image_data_uri(channel.image_128) or '/web/static/src/img/placeholder.png'" t-att-alt="channel.name" /> </a> <div class="media-body"> <h4><t t-esc="channel.name"/></h4> |
