Hi resolution pictures for produts in Odoo
change default option in tools/image.py
If you need hi resolution for products, you can change tool witch resize images. Is it image.py in folde tool in odoo folder.
old:
def image_resize_image(base64_source, size=(1024, 1024), encoding='base64', filetype=None, avoid_if_small=False, upper_limit=False):
new:
def image_resize_image(base64_source, size=(1280, 1080), encoding='base64', filetype=None, avoid_if_small=False, upper_limit=False):
Change value in all next size fields in file image.py. After this, import images to products. Then you can use field product.image from product model.