Skip to content

Porting: [ADD] deltatech_image_optimize: recompress oversized image attachments (from 18.0) - #2595

Open
github-actions[bot] wants to merge 1 commit into
19.0from
19.0-port-18.0-image-optimize
Open

Porting: [ADD] deltatech_image_optimize: recompress oversized image attachments (from 18.0)#2595
github-actions[bot] wants to merge 1 commit into
19.0from
19.0-port-18.0-image-optimize

Conversation

@github-actions

@github-actions github-actions Bot commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Automat portat din PR #2594 fuzionat în 18.0.

NOTĂ: PR creat automat; necesită review și testare.

New module that recompresses original image attachments (image_1920 /
image_variant_1920) to reclaim filestore space: downscale to max_dim,
JPEG (quality tuned) for opaque images, optimized PNG for images with
alpha, animated GIFs skipped. The optimized image is written back through
the owning record so Odoo regenerates the resized variants from the
smaller original. Daily scheduled action (disabled by default),
configurable via ir.config_parameter. Includes tests.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant