Skip to Content
Catalog / COM · Communication / Voice Notes
Voice Notes
voice_notes

Voice Notes

Record and play voice notes right inside chatter, activities, and any rich-text field

v19.0.1.0.0 AlshayebCo Communication

Frontend-only module (depends mail, html_editor) with no Python models, views, menus, or security files. All logic lives in web assets_backend. A reusable useVoiceNoteRecorder OWL hook wraps getUserMedia + AudioWorklet (/discuss/voice/worklet_processor) and the mail Mp3Encoder/loadLamejs to produce an MP3 File. VoiceNotePlugin (html_editor Plugin) registers a user command, powerbox item, and toolbar button, patches HtmlField.getConfig to inject itself into every HTML field, uploads via rpc('/html_editor/attachment/add_data'), and builds a contenteditable=false o_voice_note_player audio element with delete/clean-for-save handlers. composer_voice_patch re-registers voice-start/voice-stop/voice-recording composer actions with force to remove the discuss channel guard. activity_markasdone_patch patches ActivityMarkAsDone to record, upload, and attach audio on markAsDone and action_feedback_schedule_next. Styling in voice_notes.scss.

Overview

Typing out every note, update, or comment slows people down and loses the nuance of a spoken explanation. Voice Notes lets any user record audio directly in the Odoo browser using their microphone and drop it straight into chatter messages, activity feedback, and any HTML rich-text field. Recordings are encoded to MP3 in the browser, attached to the underlying record, and played back inline with standard audio controls, so spoken context travels with the document instead of being lost.

Key Features

  • Adds a microphone button to the rich-text (HTML) editor toolbar that records and inserts a voice note into any HTML field.
  • Provides a /voice powerbox command in the editor so a recording can be started by typing, searchable under voice, audio, record, or microphone.
  • Records audio in the browser via the MediaRecorder/AudioWorklet pipeline and encodes it to MP3 on the fly.
  • Shows a guided recording dialog with idle, live-timer recording, and recording-complete confirmation states before inserting.
  • Caps each recording at one minute with an on-screen countdown and a warning as the limit approaches.
  • Embeds an inline audio player with playback controls, a recorded-on timestamp, and a hover delete button inside the field content.
  • Enables voice messages in chatter on any record form, not just Discuss channels, by lifting the channel-only restriction.
  • Lets users attach a voice note when completing an activity through Mark as Done, including the Done and Schedule Next flow.
  • Uploads each recording as a standard Odoo attachment on the host record so it is stored and reusable like any file.

Technical Details

Technical Name voice_notes
Version 19.0.1.0.0
License OPL-1
Domain COM · Communication

Security

No module-specific access rights or security groups are defined. Voice Notes is a pure client-side (JavaScript/OWL) feature that reuses Odoo's existing attachment upload endpoint and the standard mail permissions, so any user who can already edit a record, post in its chatter, or complete its activities can record voice notes there.

Dependencies

mail html_editor