Download File Widget
A lightweight Odoo widget that adds a download button to form views, giving users one-click access to files stored in Binary fields directly from the record.
What is Download File Widget?
Odoo stores files in Binary fields, but the default form view behavior for Binary fields is focused on upload and edit rather than on giving users a clean way to download the stored file. Download File Widget solves this by rendering a dedicated download button alongside any Binary field, without affecting the field's data or edit behavior.
The widget is designed for read-only contexts, ideal for records where files are generated or uploaded by the system and users only need to retrieve them. Integration requires a single XML attribute change to the existing field tag.
Features
One-Click Download
A download button rendered directly inside the form view for any Binary field, letting users download files without leaving the record.
Binary Field Support
Works with standard Odoo Binary fields to expose stored files for direct download in any format.
Read-Only Safe
Designed for use in read-only mode, showing the download option without allowing the field to be edited or overwritten.
Easy Integration
Add the download widget to any existing form view with a single XML attribute change. No Python modifications required.

Integration
Add the widget to any Binary field in your form view XML. No Python changes required:
<!-- Add the download widget to a Binary field in any form view -->
<field
name="your_binary_field"
widget="download_file_widget"
class="oe_read_only"
/>The oe_read_only class ensures the field behaves as read-only, showing the download button without enabling editing.
Summary
- One-click download - download button directly in the form view, no navigation required
- Single XML change - add
widget="download_file_widget"to any Binary field - Read-only safe - designed for view-only contexts, does not affect field editing behavior
- Most affordable - at $20, the simplest and most cost-effective way to improve file access in Odoo forms