OdooWiki OCA HUB

Preview audio files

mail_preview_audio folder_open OCA/social open_in_new
Uncategorised License: AGPL-3

This module allows to preview audio files.

auto_awesome What this module does

AI-generated from the code · Odoo 15.0

Lets users play audio attachments directly inside Odoo's document viewer instead of downloading them. When an attached file is an audio file, a player with controls appears in the preview window.

This module extends the attachment preview window so that audio files can be listened to without leaving Odoo.

  • When you open an attachment whose file type is audio, the viewer recognises it and shows an audio player with standard controls (play, pause, volume).
  • An audio icon is displayed next to the file name in the viewer header, so you can tell at a glance that the file is a sound file.
  • The player uses the file's own address inside Odoo, so no external service is needed.

It works together with the base preview module (mail_preview_base), which provides the viewer itself. This module only adds the audio case: it checks the attachment's MIME type, marks it as audio, and adds the player to the preview screen.

No new menus, models, business rules, emails or scheduled actions are added. The change is purely visual and appears wherever attachments are previewed in Odoo, for example in the chatter of records or in the attachment viewer. Files that are not audio keep behaving exactly as before.

Text generated by AI (DeepSeek) from reading the Odoo 15.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 4 confirmed, 5 with no information of 9 versions.

terminal Installation and usage

No verified information

Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.