Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 101 |
Technical Name |
ps_doc_compressor |
License | LGPL-3 |
Website | https://odoo.pysquad.com |
Versions | 17.0 18.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 101 |
Technical Name |
ps_doc_compressor |
License | LGPL-3 |
Website | https://odoo.pysquad.com |
Versions | 17.0 18.0 |

Document Compressor
Enhance your Odoo 18 experience with our Document Compressor .
Document Compressor automatically compresses large image and PDF files stored as attachments in Odoo to save storage space. It includes a scheduled cron job that runs once daily, identifying and compressing files that exceed a predefined size limit (e.g., files larger than 100 KB). This helps optimize storage usage without compromising essential content.
Required Packages:
- sudo apt-get install ghostscript
- pip install pikepdf
Top Features
Discover the latest features and enhancements.

Image Compression
Compresses common image formats (e.g., JPEG, PNG) to save disk space.

PDF Compression
Reduces the file size of large PDF documents while maintaining readability.

Daily Scheduled Compression
A cron job runs automatically once a day to compress large files without manual intervention.

Storage Optimization
Helps reduce storage usage by minimizing the size of large attachments.

Seamless Integration
Works directly with Odoo’s ir.attachment model — no additional configuration needed.

Non-destructive Processing
Compression retains the original content quality to a usable level without affecting document integrity.

Cron Job

Attach File

File size before compression

File size after compression
For Support

NeedHelp?
Got questions or need help? Get in touch.
Contact Us
Email: solutions@pysquad.com
Phone:+91
8160395422
WhatsApp: +91 8160395422
Discover more at
www.odoo.pysquad.com
Please log in to comment on this module