A custom module for Odoo v18 that adds a button in the chatter to download all attachments of a record as a ZIP file.
- Adds a "Download All Attachments" button to the chatter.
- Collects all attachments related to the record.
- Downloads them as a ZIP file with proper filenames.
git clone https://github.com/Dvir-Cohen1/odoo18-chatter-attachments-zip.git
- Place the module folder inside your Odoo custom modules directory (e.g., /odoo/custom/addons).
sudo systemctl restart odoo18
- In Odoo, go to Settings > General Settings and enable Developer Mode.
- Go to Apps and search for Chatter Attachments ZIP.
- Click Install.
This module was developed using the official Odoo v18 Docker image, which provides a quick and consistent development environment without the need for local installations.
- Docker and Docker Compose installed.
- Odoo v18 runs in a Docker container.
- PostgreSQL runs as a separate container.
- Pull the Odoo v18 Docker image:
docker pull odoo:18
-
Mount the module to the addon folder where the docker-compose.yml located (in root folder) container. - /addon/odoo18-chatter-attachments-zip
-
Access Odoo at http://localhost:8069, enable Developer Mode, and install the module from Apps.
- Navigate to any record with a chatter (e.g., Sales Order, Task, or Invoice).
- Click the "Download All Attachments" button.
- A ZIP file containing all attachments will be downloaded.
Pull requests are welcome! For major changes, please open an issue first to discuss what you would like to change.
- Dvir Cohen
- GitHub: Dvir-Cohen1
- Email: dvir906@gmail.com