Skip to content

[20.0][MIG] web_editor_media_dialog_dms: Migration to 20.0 - #536

Open
CarlosRoca13 wants to merge 18 commits into
OCA:20.0from
Tecnativa:20.0-MIG-web_editor_media_dialog_dms
Open

CarlosRoca13 wants to merge 18 commits into
OCA:20.0from
Tecnativa:20.0-MIG-web_editor_media_dialog_dms

Conversation

@CarlosRoca13

Copy link
Copy Markdown

Carlos Roca and others added 18 commits October 29, 2026 16:26
Currently translated at 100.0% (8 of 8 strings)

Translation: dms-16.0/dms-16.0-web_editor_media_dialog_dms
Translate-URL: https://translation.odoo-community.org/projects/dms-16-0/dms-16-0-web_editor_media_dialog_dms/it/
Aligns the overridden _find_record_check_access method with its updated signature in the Odoo core. This change ensures continued compatibility and proper access to DMS media files via access tokens.

Key Changes:
- Updates the method override to accept and pass the new 'field' parameter.
Currently translated at 100.0% (8 of 8 strings)

Translation: dms-18.0/dms-18.0-web_editor_media_dialog_dms
Translate-URL: https://translation.odoo-community.org/projects/dms-18-0/dms-18-0-web_editor_media_dialog_dms/sv/
Currently translated at 100.0% (8 of 8 strings)

Translation: dms-18.0/dms-18.0-web_editor_media_dialog_dms
Translate-URL: https://translation.odoo-community.org/projects/dms-18-0/dms-18-0-web_editor_media_dialog_dms/sl/
- Depend on html_editor instead of the removed web_editor module.
- Adapt the DMS selector and the media dialog patch to Owl 3 and the
  new html_editor media dialog API (TABS in media_dialog_utils, addTabs).
- Render the selected DMS files as file boxes, like the core documents,
  so the editor handles them as media.
- Remove the ir.binary override: dms already grants access with tokens
  through _can_return_content.
- Check read access before generating the access token of a file.
@OCA-git-bot OCA-git-bot added mod:web_editor_media_dialog_dms Module web_editor_media_dialog_dms series:20.0 labels Oct 29, 2026
@pedrobaeza

Copy link
Copy Markdown
Member

/ocabot migration web_editor_media_dialog_dms

@OCA-git-bot OCA-git-bot added this to the 20.0 milestone Oct 29, 2026
@OCA-git-bot OCA-git-bot mentioned this pull request Oct 29, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mod:web_editor_media_dialog_dms Module web_editor_media_dialog_dms series:20.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants