summaryrefslogtreecommitdiff
path: root/addons/website_partner
diff options
context:
space:
mode:
authorSébastien Theys <seb@odoo.com>2019-08-01 11:20:38 +0000
committerSébastien Theys <seb@odoo.com>2019-08-02 16:47:58 +0000
commit1e9772889ba6969961aab0e87fd018494d6b15bb (patch)
treef53230d7f0f497b3d6e216fb1790e429b1d930dd /addons/website_partner
parentf0ffbea17381cb117f2eed4ea18a76e2b0f37f00 (diff)
[IMP] *: use image.mixin when appropriate
The following models are already using big images, or they might need big images in the future: - partner - hr employee - shop category - lunch product - gamification badge and karma rank PR: #34925
Diffstat (limited to 'addons/website_partner')
-rw-r--r--addons/website_partner/views/website_partner_templates.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_partner/views/website_partner_templates.xml b/addons/website_partner/views/website_partner_templates.xml
index 2f5c58b1dee..60adb04ee2d 100644
--- a/addons/website_partner/views/website_partner_templates.xml
+++ b/addons/website_partner/views/website_partner_templates.xml
@@ -17,7 +17,7 @@
<template id="partner_detail" name="Partner Details">
<h1 class="col-lg-12 text-center" id="partner_name" t-field="partner.display_name"/>
<div class="col-lg-4">
- <div t-field="partner.image" t-options='{"widget": "image", "class": "d-block mx-auto mb16", "max_width": 512}'/>
+ <div t-field="partner.image_1920" t-options='{"widget": "image", "preview_image": "image_512", "class": "d-block mx-auto mb16"}'/>
<address>
<div t-field="partner.self" t-options='{
"widget": "contact",