Repository navigation
[20.0][MIG] web_editor_media_dialog_dms: Migration to 20.0 - #536
Open
CarlosRoca13 wants to merge 18 commits into
Open
CarlosRoca13 wants to merge 18 commits into
CarlosRoca13 wants to merge 18 commits into
Conversation
…es as media in web editor
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.
Member
|
/ocabot migration web_editor_media_dialog_dms |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
cc @Tecnativa TT65361
This PR depends of:
ping @eduezerouali-tecnativa @victoralmau