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. Productivity
  3. Download Attachments in Bulk v 19.0
  4. Sales Conditions FAQ

Download Attachments in Bulk

by Farhan Ashraf https://github.com/faaani/odoo-apps
Odoo
v 19.0 Third Party 5
Download for v 19.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Versions 14.0 15.0 16.0 17.0 18.0 19.0
You bought this module and need support? Click here!
Versions 14.0 15.0 16.0 17.0 18.0 19.0
  • Description
  • Manifest

Download Attachments in Bulk

Select the records — get every file back as one ZIP.

Odoo downloads files one at a time. Collecting the signed contracts of thirty customers means opening thirty forms and clicking thirty times. This module adds a Download Attachments entry to the Action menu: tick the records, check how many files and how many megabytes that represents, and download them all as a single ZIP. Free and open source (LGPL-3), Odoo 14.0 through 19.0.

  • You see the size before you click — number of files, total size and the configured limit are shown in the dialog.
  • No overwritten files — every file is stored as <record name>/<file name>, so two records with the same contract.pdf both survive. Two identical names on the same record become contract.pdf and contract (2).pdf.
  • Access rights are respected — the archive holds the same set of files Odoo itself would let you download; attachments of records you may not read are left out instead of breaking the download. No attachment or record is ever read with elevated rights.
  • A safety limit — a selection over the configured total (200 MB by default), or of more than 5000 records, is refused with a clear message instead of exhausting the server.
  • No empty files — a document whose stored blob is missing from the filestore is skipped and logged, never handed over as a plausible-looking empty PDF.
  • Nothing is modified — this module only reads. It never edits, moves or deletes an attachment or a record.

Screenshots

Download Attachments in the Action menu

Select any records in a list and pick Actions → Download Attachments.

The bulk download dialog

The dialog reports the number of files, the total size and the limit before anything is built.

The bulk download limit in Settings

Settings → General Settings → Attachments: raise or remove the total size limit.

Installation

  1. Copy the attachment_bulk_download folder into your addons path.
  2. Open Apps, click Update Apps List, search for Download Attachments in Bulk.
  3. Click Install. Only the standard base_setup module is required.

Configuration

  1. Go to Settings → General Settings → Attachments and set Bulk Download Limit (MB). The default is 200 MB; 0 removes the limit.
  2. The action is available on Contacts immediately after installation.
  3. To offer it on another model, open Settings → Technical → Actions → Window Actions (developer mode), find Download Attachments and set that model in its bindings.
  4. Every internal user (Employee) may use the action; each user still only ever receives the files they are allowed to read.

Usage

  1. Open a list view and tick the records whose documents you need.
  2. Choose Actions → Download Attachments.
  3. Check the file count and total size shown in the dialog, then click Download ZIP.
  4. The archive is served by a dedicated controller that re-checks your access rights, and lands in your browser's downloads.

Good to know

  • Only files attached to a record are included — the ones listed in the record's Attachments/paperclip area. Images stored inside a binary field (a contact photo, a product image, a company logo) are part of the record itself, not attachments, and are not in the archive. This is the same set of files Odoo's own Attachments list shows.
  • Attachments of type URL (a link rather than a stored file) have no content to put in a ZIP and are skipped.
  • The archive is built in memory, which is why the size limit exists: peak usage is roughly twice the limit per download in progress. On a small server, or with many users downloading at once, lower it.
  • A single download covers at most 5000 selected records.
  • The action is bound to Contacts out of the box; other models are one configuration step away (see Configuration above).

Version notes

Identical behavior on every supported series (14.0 – 19.0).

Questions, bugs or feature requests?
Email f.ashraf.dev1@gmail.com — I read and answer every message.

License: LGPL-3 · Source on GitHub · Issues and contributions welcome.

Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 342
Technical Name attachment_bulk_download
LicenseLGPL-3
Websitehttps://github.com/faaani/odoo-apps

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, please use the developer contact information. They can usually be found in the description.
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