summaryrefslogtreecommitdiff
path: root/addons/gamification/data/goal_base.xml
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2019-08-01 11:20:33 +0000
committerSébastien Theys <seb@odoo.com>2019-08-02 16:47:58 +0000
commit58a2ffa26f1a3b0f9630ce16d11b758d18e20a21 (patch)
treee737f6abdd166c7da94827de9d968ad2d7478dde /addons/gamification/data/goal_base.xml
parent8206b5b4cc92b6befd98ebec7f7ef8af588a9b68 (diff)
[IMP] *: rename image fields
image_original => image_1920 (now resized to 1920) image_big => image_1024 image_large => image_256 image_medium => image_128 image_small => image_64 image replaced by image_1920 (when writing) or by image_1024 (when displaying what was previously the big size) + add new intermediate format: image_512 PR: #34925
Diffstat (limited to 'addons/gamification/data/goal_base.xml')
-rw-r--r--addons/gamification/data/goal_base.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/gamification/data/goal_base.xml b/addons/gamification/data/goal_base.xml
index bb43e81b8f2..a09b588e237 100644
--- a/addons/gamification/data/goal_base.xml
+++ b/addons/gamification/data/goal_base.xml
@@ -145,7 +145,7 @@ Thank you,
<div style="height:${heightA}px;">
${extra_div | safe}
<div style="height:55px;">
- <img style="margin-bottom:5px;width:50px;height:50px;border-radius:50%;" t-att-src="image_data_uri(object.env['res.users'].browse(goal['user_id']).partner_id.image_small)" alt="${goal['name']}"/>
+ <img style="margin-bottom:5px;width:50px;height:50px;border-radius:50%;" t-att-src="image_data_uri(object.env['res.users'].browse(goal['user_id']).partner_id.image_64)" alt="${goal['name']}"/>
</div>
<div align="center" style ="color:${bgColor};height:20px">
${goal['name']}