From ce6849548a0084f41798406e2d45706bb6d4b65f Mon Sep 17 00:00:00 2001 From: "Christihan Laurel [Vauxoo]" Date: Thu, 21 Mar 2024 22:24:31 +0000 Subject: [PATCH] [FIX] Payment: prevent error in rendering payment icon list with PIL incompatible icon image formats Replace the use of 't-esc' with 't-field' for the payment icon image in the icons list template. The latter, for an image field, provides two options for rendering the payment icon image: use the PIL library to obtain the image when given the option 'qweb_img_raw_data', or use a URL. The former only considers the first option, allowing only image formats compatible with the PIL library. closes odoo/odoo#159586 X-original-commit: bc76cca37504b40eac73190363c452f89dca65ed Signed-off-by: Antoine Vandevenne (anv) --- addons/payment/views/payment_form_templates.xml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/addons/payment/views/payment_form_templates.xml b/addons/payment/views/payment_form_templates.xml index e088b092bc491..35b0dd22fe568 100644 --- a/addons/payment/views/payment_form_templates.xml +++ b/addons/payment/views/payment_form_templates.xml @@ -228,8 +228,7 @@
- - +
@@ -309,8 +308,7 @@ - - + @@ -383,13 +381,13 @@