[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) <anv@odoo.com>
This commit is contained in:
mathysPaul
2024-02-05 19:43:35 +00:00
parent e11e3ca447
commit 93d7f33fce
+1 -1
View File
@@ -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)