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
    • Estate 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. Instant Attachment Preview v 19.0
  4. Sales Conditions FAQ

Instant Attachment Preview

by Riste Kabranov https://odoomacedonia.mk
Odoo

$ 174.14

v 19.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Sales (sale_management)
• Invoicing (account)
Lines of code 331
Technical Name cons_attachment_preview
LicenseLGPL-3
Websitehttps://odoomacedonia.mk
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Discuss (mail)
• Sales (sale_management)
• Invoicing (account)
Lines of code 331
Technical Name cons_attachment_preview
LicenseLGPL-3
Websitehttps://odoomacedonia.mk

📎 Instant Attachment Preview

Transform your Odoo experience with instant file previews. View PDFs, images, videos, Excel spreadsheets, Word documents, and more without ever leaving your workspace.

Odoo 19 Native Preview No Downloads Required

🎥 Watch It In Action

Your browser does not support the video tag.

See how easy it is to preview attachments instantly in Odoo

✨ Key Features

⚡

Lightning Fast Previews

Click any attachment thumbnail to instantly view the file in a beautiful, full-screen viewer. No downloads, no waiting, no interruptions to your workflow.

🎯

Universal File Support

Preview virtually any file type including images, PDFs, videos, Excel spreadsheets, Word documents, and text files - all seamlessly integrated into Odoo.

🎨

Beautiful Interface

Enjoy a modern, intuitive file viewer with zoom controls for images, navigation controls for multiple files, and a clean, distraction-free interface.

🔧

Easy Integration

Use the attachment preview widget on any model. Includes built-in support for Partners, Sales Orders, and Order Lines - extend it to your custom models effortlessly.

📱

Built-in Support

Works out of the box with Res Partners, Sales Orders, and Sales Order Lines. No configuration needed - just install and start using immediately.

🔄

Multiple File Navigation

When previewing multiple attachments, easily navigate between files using keyboard arrows or click navigation buttons - just like a professional gallery viewer.

📄 Supported File Types

This module provides native preview support for a wide range of file formats:

Images Images

JPEG, PNG, GIF, SVG, BMP, WebP, TIFF

PDF PDF Documents

All PDF files with built-in PDF.js viewer

Videos Video Files

MP4, WebM, AVI, MOV, MKV, and more

Excel Excel Spreadsheets

XLSX, XLS, XLSM files with native parsing

Word Word Documents

DOCX, DOC, DOCM files with formatting preserved

📝
Text Files

TXT, HTML, CSS, JS, JSON, XML, and more

🛠️ Using the Widget on Custom Models

Want to add instant attachment preview to your own custom models? It's incredibly simple! Just follow these steps:

Step 1: Add the Field

Add a Many2many field to your model pointing to ir.attachment:

from odoo import models, fields class YourModel(models.Model): _inherit = 'your.model' attachment_ids = fields.Many2many( 'ir.attachment', string='Attachments', help="Upload attachments for instant preview" )

Step 2: Add to Your View

In your form view XML, add the field with the many2many_binary widget:

<field name="attachment_ids" widget="many2many_binary" options="{'no_create': True}"/>

Step 3: That's It!

The preview functionality is automatically enabled. Users can click any attachment thumbnail to preview files instantly. The widget handles all file types automatically - no additional configuration needed!

💡 Pro Tip

You can place the attachment field anywhere in your form view. A common location is after important fields like partner information or order details. The preview popup works seamlessly regardless of where you place the field.

📸 Screenshots

Preview icon

Attachment Field on Partner Form

See the attachment field integrated into the contact form, allowing instant preview of customer documents.

Partner attachments

Sales Order Attachments

Preview order-related documents directly from the sales order form without leaving the page.

📄

Screenshot coming soon

Sales Order form with attachment preview field

Image icon

Image Preview

Beautiful full-screen image viewer with zoom, rotate, and navigation controls.

Image preview
Video icon

Video Preview

Watch videos directly in the browser with native HTML5 video player controls.

Video preview
PDF icon

PDF Preview

Read PDF documents with the integrated PDF.js viewer - no external applications needed.

PDF preview

📦 Installation

  1. Download the Module
    Download the Instant Attachment Preview module and place it in your Odoo addons directory.
  2. Update Apps List
    Navigate to Apps → Update Apps List to refresh your module catalog.
  3. Install
    Search for "Instant Attachment Preview" in the Apps menu and click Install.
  4. Start Using
    The module is ready to use immediately! Visit any Partner, Sales Order, or Order Line form to see the attachment preview field.

🚀 Usage

1. Upload Attachments

Click the attachment button in the "Attachments" field to upload files. You can upload multiple files at once.

2. Click to Preview

Click any attachment thumbnail to open it in the preview viewer. The viewer automatically detects the file type.

3. Navigate & Control

Use arrow keys or navigation buttons to move between files. For images, use zoom controls and rotation. Close with Esc or the X button.

Ready to Enhance Your Odoo Experience?

Install Instant Attachment Preview today and transform how you interact with files in Odoo.

Instant Attachment Preview

Developed by Riste Kabranov

odoomacedonia.mk | ristecona@gmail.com

© 2025 Riste Kabranov. All Rights Reserved.

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