[19.0][MIG] dms: Migration to 19.0#475
Open
dnplkndll wants to merge 143 commits into
Open
Conversation
Member
|
Thanks for the contribution. Please preserve commit history following technical method explained in https://github.com/OCA/maintainer-tools/wiki/Migration-to-version-19.0. If the jump is between several versions, you have to modify the source branch in the main command to accommodate it to this circumstance. |
05b4630 to
43752f4
Compare
…nfusion When using searchpanel and there is no default_order, records obtained have no defined order (search_read without order). TT48180
…warning of 2 fields with the same string.
…ion' permission Extra changes: Replace Share buttons with actions Steps to reproduce: - Go to Settings > Users & Companies > Users and create a user only with Documents > Manager permission. (User must not have the Extra Rights > Contact Creation permission). - Go to Documents and go into a directory form view and click on "Share" button. - An access error is displayed
[UPD] Update dms.pot [BOT] post-merge updates Update translation files Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: dms-17.0/dms-17.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-17-0/dms-17-0-dms/
… error Changes done: - Improve _dms_operations() method to do nothing if the model is not one of those used in dms.storage. - Avoid access error with .browse() if we access a non-existing record (for example, deleted by database). TT50231
UserWarning: dms.file: inconsistent 'store' for computed fields, accessing migration may recompute and update require_migration. Use distinct compute methods for stored and non-stored fields [BOT] post-merge updates
It was missing a placeholder.
Add the mk_file_kanban_view class to the custom kanban view so that it is displayed correctly according to the styles set for that class (mk_file_kanban_view). TT50055
…llowed to create TT50055 [BOT] post-merge updates [BOT] post-merge updates
[BOT] post-merge updates
Co-authored-by: kobros-tech TT55505
When deleting an attachment, an attempt should be made to delete the linked file, causing an error if it is locked. Do not show the Delete/Archive/Unarchive option on files if it is locked and you cannot unlock it. Fixes OCA#381
… is applied correctly. Before these changes, the domain was never applied to search by the parent, so all subfolders were being displayed instead of only the direct children of the selected one. After making the changes, only a single level of folders is shown, without displaying all descendant folders.
The _check_access_dms_record method uses self.search(domain) to verify write permissions. However, search() applies active_test=True by default, which excludes archived records (active=False). This means when a user tries to unarchive a file via toggle_active(), the write permission check cannot find the archived record in the search results, causing an AccessError even when the user has full write permissions through DMS access groups. Fix: add active_test=False context to include archived records in the permission check search.
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
Signed-off-by: Don Kendall <dkendall@ledoweb.com>
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.
Port of
dmsfrom 18.0 to 19.0