OdooWiki OCA HUB

Web Editor Media Dialog DMS

web_editor_media_dialog_dms folder_open OCA/dms open_in_new
Uncategorised License: AGPL-3

This module adds the option in the web editor to include an image with the corresponding link to open/download the linked files.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Lets you insert DMS files as links directly from the website/email editor's media dialog, with an option to make the link work for public visitors.

When you edit content with the web editor and open the media dialog to add an image or a link, a new "DMS" tab appears alongside the standard tabs. From there you can browse your DMS files, search them by name, and load more results as you scroll.

  • Selecting a file inserts a link that opens or downloads it through Odoo's document viewer.
  • A switch labelled "Allow open to public users" adds a secure access token to the link so that people who are not logged in can open the file.
  • SVG images are linked with a download flag because they do not display well in a new browser tab.
  • If you reopen the dialog on an existing DMS link, the DMS tab is selected automatically and the matching file is highlighted.

The module also extends the dms.file model with token generation and validation, and hooks into ir.binary so that file access checks accept a valid token. The DMS tab is hidden when the dialog is restricted to images only.

Depends on

dmsweb_editor
Models and fields (1)
  • dms.file · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 18.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: 2 confirmed, 7 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 18.0

To use this module, we need:

  • Navigate to a model that has an HTML field
  • Edit the field
  • Type /image to open the media dialog
  • Select the DMS tab
  • Select the DMS file to be added

You can also edit the selected file making a double click on the image added to web editor.

If you want to share the file to a public user, you can do it by selecting the option Allow open to public users which is located on DMS tab of media dialog.

No verified information in OCA: Installation, Configuration.

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.