| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 308 |
| Technical Name |
sh_document_compression |
| License | OPL-1 |
| Website | https://www.softhealer.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Invoicing (account)
• Discuss (mail) |
| Lines of code | 308 |
| Technical Name |
sh_document_compression |
| License | OPL-1 |
| Website | https://www.softhealer.com |
Image Attachment Compression
The Image Attachment Compression module automatically optimizes image storage in Odoo by compressing images. It allows you to select the target Odoo model, such as Product, Employee, or Document, set image quality percentage, and apply a minimum size filter. While supporting common formats like JPG, PNG, JPEG, and BMP for Image document types, it runs fully in the background using a scheduled cron job every 5 minutes and provides a dedicated Compression Log menu with a separate log view for tracking.
Related Modules
Features
Model-Specific Configuration
Apply compression to specific Odoo models, such as Product, Employee, or Document, to control where optimization is required.
Image Document Type Support
Compress image-type documents while keeping other document types unaffected.
Adjustable Image Quality Control
Set the image quality in percentage to balance between file size reduction and visual clarity.
Minimum Image Size Filter
Define a minimum image size (KB) so only larger images are compressed, avoiding unnecessary processing.
Multiple Image Format Support
Supports commonly used image formats, including JPG, PNG, JPEG, and BMP.
Automated Image Compression Cron Job
Runs automatically via a scheduled cron job every 5 minutes without manual intervention.
Dedicated Compression Log Menu
Access a separate log menu under Document Compression to monitor all compression activities.
Detailed Success and Failure Logs
Each log entry shows compression status with failure reasons for better transparency and debugging.
It allows you to configure specific rules, such as defining the target model, image quality, and minimum file size. You can trigger the process manually using the "Compress Image" button. The built-in log section at the bottom provides a detailed history of all successful compressions and automated system checks.
The Compression Log view displays a history of actions, including successfully compressed files and records of system checks when no files were found.
The image is attached to the product variant.
This is the Attachments view (with Developer Mode Activated) in Settings -> Technical -> Attachments, which displays detailed information about the uploaded file. The highlighted section shows the current file size.
Clicking the Compress Image button immediately starts compressing the selected model.
This is the Attachments view displaying the details of the compressed file.
Version 18.0.1 | Released on : 12th January 2026
- Yes, this app works perfectly with Odoo Enterprise (Odoo.sh & Premise) as well as Community.
- No, this application is not compatible with odoo.com(odoo saas/Odoo Online)
- Yes, to test this module, please contact us at sales@softhealer.com.
- Please contact us at sales@softhealer.comto request customization.
- Yes, we provide free support for 365 days from the date of purchase.
- Yes, you will receive lifetime free updates for the version of the module you purchased.
- No, there is no need to install any additional libraries.
- Yes, for version 12 and above, you need to purchase the module separately for each version you intend to use.
- No, exchanges or refunds are not allowed. Please make sure to select the correct version before purchasing.
- You can contact us at support@softhealer.com for language translation support. We use Google Translator tools to provide translations in multiple languages, so the accuracy may vary. We welcome your suggestions to help improve translations.
Discover Our Latest Apps
Odoo Direct Print
AI Insight Assistant
- Dedicated AI Chat Interface
- Instant Response Engine
- Intelligent Data Understanding
Knowledge Base System
Multi-Languages
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Please log in to comment on this module