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
    • Artificial Intelligence
    • 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
    • Affiliate Program
    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. Productivity
  3. Attachment Storage Saver: PDF Compression, Image Compression, Filestore Cleanup and Storage Analytics v 17.0
  4. Sales Conditions FAQ

Attachment Storage Saver: PDF Compression, Image Compression, Filestore Cleanup and Storage Analytics

by Viyug Infotech https://viyuginfotech.com
Odoo

$ 64.65

v 17.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 16.0 17.0 18.0 19.0 20.0
You bought this module and need support? Click here!
Versions 16.0 17.0 18.0 19.0 20.0
  • Description
  • Manifest
  • License
Attachment Storage Saver

Shrink the filestore without risking a single document.

Storage Saver recompresses scanned PDFs and photos inside Odoo, shows where your storage goes, and keeps every original until the new file is verified. Dry run first, undo in one click, before/after report for every run.

Up to 90 %
smaller scanned PDFs
0 lost files
originals kept until verified
Pure Python
Odoo.sh safe, no Ghostscript

Free setup call with every purchase

After you buy, book a free 30-minute online call: we install the app with you and set it up for your company. Questions are answered within 24 hours, Monday to Saturday, at support@viyuginfotech.com or on WhatsApp (QR code at the end of this page).

Why the filestore keeps growing

Odoo already shares identical files and resizes product images, but scanned PDFs and photos attached to documents are kept exactly as uploaded.

Scans pile up

Vendor bills, delivery notes and contracts scanned at 300 dpi weigh 1-3 MB a page, for years.

Phone photos

Site, damage and product photos arrive at 4000 px and 3-8 MB each through the chatter and e-mail.

Slow, costly backups

Every backup, staging copy and restore carries the whole filestore; hosting plans run out.

Nobody dares to delete

Files are evidence. Shrinking them must never lose or damage a single document.

How it works

Four steps, each one reversible until you release the originals.

1

Measure

Dashboard and analytics show which documents, file types and years take the space.

2

Dry run

Estimate the saving on a sample. Nothing is written; the projection covers all matching files.

3

Compress

Background batches. Each result is verified before it replaces the file; the original is kept.

4

Release or undo

Restore any file in one click while originals are kept; they are checked again before release.

What you get

📄

PDF scans in pure Python

Pictures inside PDFs are downscaled to the resolution you choose and re-encoded; text, fonts, forms, bookmarks and metadata stay as they are. Uses the PDF library and Pillow that Odoo already ships.

📷

Photos and PNG images

JPEG photos are turned upright, resized and re-encoded with their colour profile; PNG files are optimised without loss.

🔍

Dry run with projection

Try the settings on a sample first: before and after sizes per file and the projected saving on every matching file, without writing anything.

🔒

Originals kept and verified

The new file is read back from the disk and compared by SHA-1; every PDF object except the pictures must stay byte for byte identical. Any doubt: rolled back, original untouched.

â†Šī¸

One-click undo

Restore one file or a whole run while originals are kept. Restored files are never compressed again; a file changed after compression is never overwritten.

đŸ›Ąī¸

Protected documents

Digitally signed, encrypted, PDF/A and e-invoice PDFs (Factur-X, ZUGFeRD) and e-signature documents are left alone. Binary-field files are excluded by default.

🔗

Shared files handled

Odoo stores identical files once; every attachment pointing to the same file is compressed together, so the old file really disappears.

📊

Storage analytics

Pivot and graph of attachment storage per document type, file type, year, location and company, plus a list of the largest files.

đŸ—‘ī¸

Orphan filestore files

Finds files that no attachment points to (Odoo never cleans those). Quarantine first, restore at any time, delete for good later.

📑

Before / after report

A PDF per run: totals, saving per document type, largest savings and why files were left alone.

🌙

Nightly policies

New matching files are compressed every night; kept originals are checked once more and released when their keeping period ends.

â˜ī¸

Tiered archive to Cloud Drive

With Viyug Cloud Drive installed, files older than N days move to your own drive once their drive copy is verified; Odoo keeps the link.

Workflow walkthrough

From the first look at your storage to the before/after report, on a demo database with fictional companies.

1

See where the storage goes

Storage Saver > Dashboard. Files in Odoo, the filestore on disk, the database, the split by PDF and images, what can still be compressed, what was saved and how many originals are still kept. The largest document types are listed with their size.

See where the storage goes
2

Analyse per document and file type

Analytics opens a pivot of every attachment: rows per document (contacts, invoices, tasks...), columns per file type, size in MB and file count. Filter by location (filestore or database) or company.

Analyse per document and file type
3

Follow the growth per year

The graph view stacks the storage per upload year and file type, so you see which years of scans are worth compressing first.

Follow the growth per year
4

Pick the heaviest files by hand

The Largest files list sorts attachments by size. Select some and use Actions > Compress with Storage Saver for a quick dry run or compression of just those files.

Pick the heaviest files by hand
5

Set a policy

A policy says which files (PDF, JPEG, PNG, size, age, documents) and how strong: Light 200 dpi, Balanced 150 dpi, Strong 110 dpi or your own resolution and quality. Grey scans can be stored in greyscale.

Set a policy
6

Choose the safety rules

Minimum saving per file, protection of PDF/A and e-invoices, how long originals are kept, and whether the policy runs every night. Signed and encrypted PDFs are always left alone.

Choose the safety rules
7

Run a dry run first

The dry run compresses a sample in memory only. It shows the size before and after, the saving and the projected saving on all matching files. Nothing is written.

Run a dry run first
8

Compress in the background

Compress these files starts a background run with progress, pause and resume. It pauses by itself when the disk gets full. In the demo, scans and photos shrank by about 80 %.

Compress in the background
9

Check every file

Each file has its outcome: compressed with original kept, skipped with the reason (no pictures, e-invoice protected, saving too small) or restored. Filter and group by status, model or reason.

Check every file
10

Proof for each file

The file shows its checksums before and after, the pictures re-encoded, the kept original and until when it is kept. Download the original or open the document.

Proof for each file
11

Undo in one click

Restore original puts the exact original back (checksum checked) and the file is never compressed again. A run can also be restored as a whole.

Undo in one click
12

Before / after report

Print the report of a run for your IT or auditor: totals, saving per document type, the largest savings and the files left untouched with the reason.

Before / after report
13

Clean orphan filestore files

Scan the filestore for files no attachment points to. Move them to quarantine, restore them, or delete them for good after a while. Only settings administrators can do this.

Clean orphan filestore files
14

Archive old files to your own drive

With Viyug Cloud Drive installed, a policy can move files older than N days to your drive once the drive copy is verified. Odoo keeps the link, so people open them as before.

Archive old files to your own drive

Setup in 5 steps

1

Install

Install the app; administrators get the Storage Saver Administrator role, others can be given Viewer.

2

Look

Open the dashboard and analytics to see what takes the space.

3

Policy

Adjust the default policy: file types, minimum age, level, how long originals are kept.

4

Dry run

Run a dry run and check a few files and the projected saving.

5

Compress

Compress, check the report, and switch on Run every night.

Compared with typical alternatives

FeatureThis appTypical alternatives
PDF scans compressed in pure Python (no Ghostscript, no external service)YesOften needs Ghostscript or a cloud API
Dry run with projected savingYesRare
Originals kept, verified and restorableYesUsually replaced at once
Every PDF object except pictures checked byte for byteYesNo
Signed, encrypted, PDF/A and e-invoice PDFs protectedYesPartly
Files shared by several attachments compressed togetherYesPartly
Photos (JPEG, PNG) in the same policyYesSeparate module
Storage analytics per document, file type, yearYesNo
Orphan filestore files with quarantineYesNo
Before / after PDF reportYesNo
Archive old files to your own driveWith Viyug Cloud DriveNo

Frequently asked questions

Will my documents still look the same?

Text, fonts, tables, forms and bookmarks are not touched; only pictures inside PDFs are re-encoded. At Balanced (150 dpi) scans stay sharp on screen and on paper. Start with a dry run and open a few files.

When is the disk space freed?

While originals are kept (14 days by default) both versions exist. When they are released, the original files are removed by Odoo's own file clean-up, usually the same night.

What if something goes wrong while writing?

Each file is written in its own database savepoint, read back from the disk and compared with the verified result. On any difference the change is rolled back and the file is marked failed and left untouched.

Does it work on Odoo.sh and Odoo Online?

It works on Odoo.sh and on your own servers: it only uses Python libraries Odoo already requires. Odoo Online does not allow custom apps.

Are legal or signed documents safe?

Digitally signed and encrypted PDFs and e-signature documents are never changed; PDF/A and e-invoices are protected by default. If your country requires unaltered originals for some documents, exclude those documents in the policy.

Is anything sent outside my server?

No. Everything runs inside Odoo. Cloud Drive archiving only uses the drives you connected.

Can I stop it?

Pause and resume a run at any time; it continues where it stopped. It also pauses itself when less than 500 MB is free on the filestore disk.

Works with

Viyug Cloud Drive

Optional. Moves attachments to your own storage (folder, NAS, S3, SFTP, Google Drive, Dropbox) with folder rules and verified offload. With both apps, a Storage Saver policy can archive files older than N days to the drive. Find it on the Odoo Apps Store under the technical name viyug_cloud_drive.

Questions or a custom need?

Email support: support@viyuginfotech.com
Website: viyuginfotech.com

Scan with your phone to chat on WhatsApp or write us an email:

WhatsApp QR code for Viyug Infotech support

WhatsApp

+91 83207 42187

Email QR code for Viyug Infotech support

Email

Send us an email

Release notes: 1.0 - first release.

Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies Discuss (mail)
Lines of code 2557
Technical Name viyug_storage_saver
LicenseOPL-1
Websitehttps://viyuginfotech.com
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

  • 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