From 44adbeb8ae9a26cbcd9070f75a1d5216f0103492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20-=20Le=20Filament?= <remi@le-filament.com> Date: Wed, 7 Aug 2024 15:37:37 +0200 Subject: [PATCH] [FIX] image replaced by image_1920 on categories --- templates/home_stat_templates.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/home_stat_templates.xml b/templates/home_stat_templates.xml index ccae1af..9bae134 100644 --- a/templates/home_stat_templates.xml +++ b/templates/home_stat_templates.xml @@ -9,7 +9,7 @@ <div class="row mt-32"> <t t-foreach="cat_ids" t-as="cat"> <div class="col-md-3 col-xs-12 text-center"> - <t t-if="cat.image"><img t-attf-src="data:image/*;base64,{{cat.image}}" class="img-responsive p-4" /></t> + <t t-if="cat.image_1920"><img t-attf-src="data:image/*;base64,{{cat.image_1920}}" class="img-responsive p-4" /></t> <h3><t t-esc="cat.nb_nichoirs"/> <t t-esc="cat.name_website"/> *</h3> </div> </t> @@ -23,4 +23,4 @@ </data> </template> -</odoo> \ No newline at end of file +</odoo> -- GitLab