summaryrefslogtreecommitdiff
path: root/addons/website_customer
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/website_customer
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/website_customer')
-rw-r--r--addons/website_customer/views/website_customer_templates.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/website_customer/views/website_customer_templates.xml b/addons/website_customer/views/website_customer_templates.xml
index 9cd668d901d..8a5c917c1d1 100644
--- a/addons/website_customer/views/website_customer_templates.xml
+++ b/addons/website_customer/views/website_customer_templates.xml
@@ -36,7 +36,7 @@
<t t-foreach="partners" t-as="partner">
<div class="media mt-3">
<a t-attf-href="/customers/#{slug(partner)}"
- t-field="partner.image_medium"
+ t-field="partner.image_128"
t-options='{"widget": "image", "class": "mr-3"}'
></a>
<div class="media-body" style="min-height: 64px;">
@@ -197,7 +197,7 @@
</a>
</h4>
<div><a t-attf-href="/partners/#{slug(partner.assigned_partner_id)}"
- t-field="partner.assigned_partner_id.image_medium"
+ t-field="partner.assigned_partner_id.image_128"
t-options='{"widget": "image", "class": "d-block mx-auto"}'
/>
</div>
@@ -218,7 +218,7 @@
<div t-foreach="partner.implemented_partner_ids" t-as="reference" class="media mt-3">
<t t-if="reference.website_published">
<a t-attf-href="/customers/#{slug(reference)}">
- <span t-field="reference.image_medium" t-options='{"widget": "image", "class": "d-block mr-3"}'/>
+ <span t-field="reference.image_128" t-options='{"widget": "image", "class": "d-block mr-3"}'/>
</a>
<div class="media-body" style="min-height: 64px;">
<a t-attf-href="/customers/#{slug(reference)}">