From 93d7f33fce0219fa64acc8d4e906ef1959188701 Mon Sep 17 00:00:00 2001 From: mathysPaul Date: Thu, 7 Dec 2023 08:37:11 +0100 Subject: [PATCH] [FIX] website_sale: Fix poor quality image tags Addresses the pixelation of tag images by adjusting their size in the backend to 200x200. This change resolves the issue of images being resized from 50x50 to 60x20 in the frontend, which caused pixelation, ensuring improved image quality. task-3607604 closes odoo/odoo#144724 Signed-off-by: Antoine Vandevenne (anv) --- addons/website_sale/models/product_tag.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/website_sale/models/product_tag.py b/addons/website_sale/models/product_tag.py index ad6749f16f0..e03804e22cc 100644 --- a/addons/website_sale/models/product_tag.py +++ b/addons/website_sale/models/product_tag.py @@ -12,4 +12,4 @@ class ProductTag(models.Model): help="Whether the tag is displayed on the eCommerce.", default=True, ) - image = fields.Image(string="Image", max_width=50, max_height=50) + image = fields.Image(string="Image", max_width=200, max_height=200)