From b496b4abf11aab8c5f44164e680a4615c0989754 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Krier?= Date: Thu, 7 May 2026 13:30:46 +0200 Subject: [PATCH] Set filename extension to jpg for product image Closes #13334 --- modules/product_image/product.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/product_image/product.py b/modules/product_image/product.py index 2819b7077a..f205d3821c 100644 --- a/modules/product_image/product.py +++ b/modules/product_image/product.py @@ -128,7 +128,8 @@ class Product( class _ImageMixin: __slots__ = () image = fields.Binary( - "Image", file_id=file_id, store_prefix=store_prefix, required=True) + "Image", required=True, filename_ext='jpg', + file_id=file_id, store_prefix=store_prefix) image_id = fields.Char("Image ID", readonly=True)