Skip to Content

Attachment Zip File Download

by

6.24

19.0 0
Live Preview
Required Apps 104
Technical Name attachment_zip_download_tus
License OPL-1
You bought this module and need support ? Click here!
Technical Name attachment_zip_download_tus
License OPL-1

Introduction

The Attachment Zip Download module for Odoo provides an elegant utility to compress and retrieve all attached files from selected records into a single ZIP archive. Whether for audit, backup, client delivery, or internal inspection, users can bundle multiple attachments across models in one action. By leveraging server actions, this module integrates flexibly into any Odoo model and simplifies bulk attachment export.

Key Features

  • Create ZIP files containing attachments of selected records

  • Support for any model, provided a server action is configured

  • Automatically trigger download of the generated ZIP file

  • Warning message if there are no attachments to zip

  • Compatible with various file formats: images, PDF, XML, media, etc.

Benefits

  • Saves time by bundling multiple attachments into a single file for download

  • Enhances file delivery for customers or auditors with one consolidated ZIP

  • Reduces manual steps in exporting attachments model by model

  • Improves file management and archival workflows

  • Offers flexibility—works across records and modules via server actions

Compatibility & Technical Details

  • Technical Name: attachment_zip_download_tus

  • Required Modules: Works with core mail/attachment framework, no special dependencies beyond attachments support

  • License: Odoo Proprietary License v1.0 (OPL-1)

  • Installation Steps:

    1. Install the module into your Odoo environment.

    2. Enable developer mode.

    3. Go to Settings → Technical → Actions → Server Actions.

    4. Create a server action named (for example) “Zip Attachments”, set the target model you need, and set the action type to "Zip File".

    5. After configuring, in that model’s list view, select records and invoke the “Zip Attachments” action you created.

    6. The system will package all attachments into a ZIP and initiate a download.

Attachment Zip File Download

A zip file is one of the finest solutions to keep all records in one place while taking up as little space as possible. Techultra Zip creation will help you a lot to manage all files. Explore all the features of this app and how it works in the sections below.

Zip file

https://wa.me/message/VENRAJRHMSWEB1 OR
  • Create a Zip file from the attachment.
  • Can generate a Zip file from any module if server action is created for that model.
  • Supports a wide range of file formats, including audio, video, XML, PDF, images and etc....
  • If you try to zip from an empty record, an warning message will appear.
  • Create server action to create a zip file.
  • Automatically download Zip after creation.

1.Configuration

To use this feature in any module you first need to configure it in server action. Follow steps to easily configure it.
First enable developer mode from the general setting.
Go to setting --> Technical --> Action --> server action --> search for default action "zip file" created by us
Fill in the blanks with the information provided below.

Action name - Name of the action
Model - change model name according to your need
Type - Always select Zip File here

After filling details click on “Create Contextual action” to activate it.

2.See Action

Open the module to view the zip file action, for example we have created it for Sale order.
To view it go to Sales module --> order --> sale order --> select orders --> click on action
Server Actions have been put here.

3.Attach file

Whatever files you include in the attachment, they will all be zipped when the zip is generated.
This image shows an attachment icon and an "Attach file" button. Please attach your file here.

4.Create Zip

To create a zip, first select the records from which you want to create the zip. As previously said, zipped files
will be created from the files that are available in the attachment, so make sure you have attached the files in
the attachment. For example, if you selected ten entries and any or all of them have an attachment, the warning will not occur. But,
if all ten attachments are empty, an warning will be displayed.

5.Created Zip file

See the result in the image

  • We are provide 90 days bug free support related to our module.
  • The support team is availbale from Monday to Friday 10:00 AM to 07:00 PM (IST).
  • To create ticket send email to [email protected].

1.Can we zip files such as invoices, bills, credit notes, quotations, sales orders, and so on?

Ans. No, but if you want to do then attach those files in attachment.

2.Do I need to create Server action for all models?

Ans. Yes. You must first create a Server Action for the model you want to enable zipping.ex. Sale order, invoice, contact etc.

3.How to create server action?

Ans. First activate developer mode, then go to Setting→Technical→Action→Server action→Create

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.