Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Custom
  3. Document Compressor v 19.0
  4. Sales Conditions FAQ

Document Compressor

by Pysquad Informatics https://www.pysquad.com
Odoo

$ 17.31

v 19.0 Third Party 8
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 609
Technical Name ps_doc_compressor
LicenseLGPL-3
Websitehttps://www.pysquad.com
Versions 17.0 18.0 19.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 609
Technical Name ps_doc_compressor
LicenseLGPL-3
Websitehttps://www.pysquad.com
Versions 17.0 18.0 19.0
Community + Enterprise

Document Compressor

Reduce attachment footprint for PDFs and images directly on ir.attachment, with automation you control from General Settings and one-click manual compression when you need it.

Document Compressor automatically compresses large image and PDF files stored as attachments in Odoo to save storage space. A scheduled job can run once per day and only processes binaries that are still marked for compression. You define the minimum size to act on in General Settings (for example, skip everything smaller than 100 KB or a value in MB), turn the cron on or off, and run an immediate batch from settings when you want. Attachments can also be compressed manually from the attachment form or list with no minimum-size rule. Read-only storage insights show total footprint (PostgreSQL size plus binary attachment sizes) and attachment-only size, with a manual refresh to update the numbers after cleanup.

Server requirements:
PDF compression needs the Ghostscript executable gs on the server PATH (install Ghostscript via your OS package manager, not a standalone pip package).
Image compression uses Pillow in the Odoo Python environment (typically already present).

Top Features

Discover the latest features and enhancements.

Image Compression

Optimizes JPEG, PNG, GIF, WebP, BMP, and other raster formats Pillow can decode—JPEG with quality tuning, PNG with optimization, and other types converted to JPEG where appropriate.

PDF Compression

Rewrites PDFs through Ghostscript (gs) for smaller files while keeping documents usable (requires Ghostscript on the server).

Scheduled Compression You Control

Daily cron processes eligible attachments; enable or disable it from General Settings and set a skip threshold in KB or MB so small files are ignored.

Storage Overview

General Settings shows total footprint (database plus binary attachments) and attachment-only size, with a manual refresh after compression or cleanup.

Manual & On-Demand

Compress a single attachment from the form header or list; trigger a full eligible batch anytime with Compress Now in General Settings—no minimum size for manual actions.

Safe Replacement Rule

Attachment bytes are replaced only when the compressed file is smaller; otherwise the original file stays as-is. Failed compressions do not flip attachments to “done” so they can be retried after fixing the environment.

Compression Performance

Average compression ratio based on file type and size.

Type
Compression
Description
JPG / JPEG
55%+

JPEG images are optimized using quality tuning and usually achieve more than 55% compression.

PNG
5% - 6%+

PNG files are already internally optimized, so compression gains are smaller but still reduce storage usage.

Small PDF
35% - 40%+

Small PDFs (100 KB or less) are already compact but can still be reduced significantly.

Large PDF
80%+

Large PDFs (100 KB+) often achieve very high compression ratios depending on images and embedded content.

  • Screenshots

Cron Job

Attach File

File size before compression

File size after compression

General Settings — Total Database Size and Attachment Size

General Settings — database & attachment size

Under Settings → General Settings → Document Compressor, view Total Database Size (PostgreSQL + binary attachments) and Attachment Size. Use Manual Refresh after compression to see updated footprint; use Compress Now to run a batch immediately.

For Support

Company Logo
NeedHelp?

Got questions or need help? Get in touch.

Contact Us

EmailEmail: solutions@pysquad.com

PhonePhone:+91 8160395422

WhatsAppWhatsApp: +91 8160395422

Discover more at

www.odoo.pysquad.com

Open link www.odoo.pysquad.com

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with