SIT - Ir Attachement Image compression

https://www.simplicit.eu/web/image/product.template/3402/image_1920?unique=556d144

Compress images in ir attachments

Not Available For Sale

  • Odoo Version
  • Type d'abonnement

Cette combinaison n'existe pas.

Type d'abonnement: Socle

Pour comprendre le fonctionnement du core et la différence entre les abonnements Socle et Structurant, c'est ici

This module extends the functionality of Odoo's ir.attachment model to automatically resize images that are stored as attachments in the system. The module provides an automated mechanism to reduce the size of image files (JPEG and PNG formats) that exceed a specified size limit.

Configuration on job cron:
  • days = only images older than x days will be compressed
  • model_filter = list of models on which we want to compress attachement pictures (ex: ['helpdesk.ticket', 'res.partner'])
Configuration in Odoo system parameters:
  • sit_image_compression.binary_lenght_wanted: The maximum allowed size for images before resizing. This value can be configured through the Odoo system parameters.