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. Extra Tools
  3. Clean In-Session File Downloads (Client Action) v 18.0
  4. Sales Conditions FAQ

Clean In-Session File Downloads (Client Action)

by Cerevantix Technologies https://cerevantix.com
Odoo

$ 13.67

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

Clean downloads, zero disruption to your workflow

A drop-in client action for Odoo 17–19 that streams files straight to the browser — no new tab, no page reload, no lost form state — with batch downloads, live progress, descriptive errors, and a full audit trail built in.

THE PROBLEM

Odoo's native download paths open a new browser tab or force a full page reload, breaking session continuity and discarding unsaved form state. Developers are left hand-rolling client-side download logic on every project — with no batch support, no progress feedback, no descriptive errors, and no record of who downloaded what.

THE SOLUTION

A single service builds a client action that fetches files via an XHR blob request and saves them in-session, with zero navigation. Call it from a server action, any backend method, or a button. Batch multiple files into one action, show live progress, surface plain-language errors, and log every download to a searchable audit trail.

CAPABILITIES

A complete download toolkit, drop in

Every capability below is implemented in the module.

01

Trigger from server actions

Bind the download builder to any server action and it appears right in a record's Actions cog menu, ready to run against one or many selected records.

02

Trigger from backend methods

Call a helper from any Python method to turn a binary field, an attachment, or a generated document into a clean, in-session download.

03

Button-initiated downloads

Wire any object button on a form or list view to return a download action, so a single click delivers the file without any extra scaffolding.

04

No new tab, no reload

Files are fetched via an XHR blob and saved by the browser's own downloader — the page never navigates, and unsaved form state survives.

05

Batch downloads

Pass a list of files to download several attachments or generated documents in a single action, tracked together in the audit trail under a shared batch.

06

Live progress feedback

A sticky notification tracks the percent complete for each file, so large downloads never look stalled or unresponsive.

07

Descriptive error handling

Failed downloads surface a plain-language notification naming the file and the reason — never a silent failure or a raw traceback.

08

Download history & audit trail

Every download is logged with user, filename, size, mimetype, source, and timestamp — viewable in list, form, and graph views.

09

Configurable retention

Toggle audit logging and set a log retention period in Settings; a daily scheduled job clears logs past the configured age automatically.

WORKFLOW

How it works

1

Build the action

Call the download builder from a server action, a backend method, or a button, passing the file URL(s) to send.

2

User clicks

The client action runs in the background: the browser fetches each file over XHR — no new tab, no reload.

3

Progress & delivery

A live progress notification tracks each file; on completion the browser saves it exactly like a native download.

4

Review the trail

Every download, success or failure, appears in the History list and graph — filterable by user, source, and status.

SCREENSHOTS

See it in action

Four screens covering the audit trail, settings, and a live in-session download.

DOWNLOAD HISTORY & LIVE DOWNLOAD
Download history list view with status badges

The Download History list shows every download — user, filename, human-readable size, mimetype, source, and status — with color-coded badges and batch rows grouped by a shared token.

Download log form showing an error state

Each log opens to a full record: a status bar for pending, success, and error states, complete metadata, and a plain-language error message shown only when a download fails.

File Downloads settings screen

Administrators toggle audit logging and set the log retention period, in days, from a dedicated Settings screen; a daily scheduled job then clears logs past that age automatically.

Live vCard download triggered from a partner record

Triggered from a partner's Actions cog menu, a demo server action downloads a generated vCard in-session — no new tab, no reload — and the download is written to the audit trail in real time.

QUESTIONS

Frequently asked

Does this module open a new browser tab or reload the page?

No. Every download is fetched via an XHR blob request and saved by the browser's native downloader, so the current page — and any unsaved form data — never changes.

Can I download multiple files in a single action?

Yes. Pass a list of files to the download builder and the module downloads them all in one client action, tracked together in the audit trail under a shared batch token.

Which Odoo versions are supported?

The module is available for Odoo 17.0, 18.0, and 19.0, each installed from its own dedicated version-specific package.

How do I trigger a download from my own module?

Call the download builder from a server action, any backend Python method, or an object button — the README includes copy-paste examples covering all three, plus the batch and attachment helpers.

Get in Touch

Have questions or need customization? Every purchase includes 30 days of free support — we are here to help.

@

Email Us

support@cerevantix.com

We usually reply within one business day.

↗

Visit Our Website

www.cerevantix.com

Explore our apps, services, and portfolio.

cerevantix .

Empowering growth through technology.

Clean, in-session file downloads for Odoo — batch support, live progress, descriptive errors, and a full audit trail, with no new tab and no page reload.

Availability
Odoo Online
Odoo.sh
On Premise
Lines of code 515
Technical Name cerevantix_client_action_file_download
LicenseOPL-1
Websitehttps://cerevantix.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