-
-
Notifications
You must be signed in to change notification settings - Fork 215
[19.0][MIG] dms: Migration to 19.0 #457
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sundar-prakash
wants to merge
325
commits into
OCA:19.0
Choose a base branch
from
sundar-prakash:19.0
base: 19.0
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
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
…d use cases. TT34095
…47483647 limit from postgresql. TT33935
…e directory (file_ids field) because it is totally wrong to try to show that field. TT34353
Currently translated at 98.2% (333 of 339 strings) Translation: dms-15.0/dms-15.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-15-0/dms-15-0-dms/de/
- Set limit=0 to prevent js default limit https://github.com/odoo/odoo/blob/15.0/addons/web/static/src/search/search_arch_parser.js#L10 - Removes the context of fields (not used in .js calls). - Display the short name of the category (no hierarchy) in Directory menu.
…field - Remove path_names field - Remove FieldPathNames (related to path_names)
… All text to Root) + Change to searchpanel directory_id (in files) or parent_id (in directories) to filter equal and not child_of
We need to overwrite function from directories because odoo only return records with childs (very weird for user perspective). All records are returned now.
…search panel directory). TT41585
…ich you have access) in the portal view. TT41585
The method _compute_image_1920 of dms_file checks if the file is of
mimetype image and tries to use it as a thumbnail.
However, there are several types of image files that Odoo/PIL
cannot work with, leading to the following error:
```
Traceback (most recent call last):
File "/opt/odoo/custom/src/odoo/odoo/tools/image.py", line 404, in base64_to_image
return Image.open(io.BytesIO(base64.b64decode(base64_source)))
File "/usr/local/lib/python3.6/site-packages/PIL/Image.py", line 2687, in open
% (filename if filename else fp))
OSError: cannot identify image file <_io.BytesIO object at 0x7f0a6ecb1780>
```
and also further down
```
odoo.exceptions.UserError: ('This file could not be decoded as an image file. Please try with a different file.', '')
```
Examples of such files are CAD files (mimetype: image/vnd.dwg)
For a list of all mimetypes starting with "image/" see:
https://www.iana.org/assignments/media-types/media-types.xhtml#image
Change in the permissions for DMS Access Groups: - Not every user can create new access groups, but only dms_users. - DMS managers (not admin users) can manage every access group - Add tests After this change: - the base user has read only access - the group_dms_user can create, and can write and unlink their own groups - the group_dms_manager can do everything on every group.
… the files. TT43563
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% (33 of 33 strings) Translation: dms-18.0/dms-18.0-dms_auto_classification Translate-URL: https://translation.odoo-community.org/projects/dms-18-0/dms-18-0-dms_auto_classification/sv/
Currently translated at 100.0% (2 of 2 strings) Translation: dms-18.0/dms-18.0-dms_user_role Translate-URL: https://translation.odoo-community.org/projects/dms-18-0/dms-18-0-dms_user_role/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/sv/
…race condition with hr_holidays accrual plan
Member
|
Please only one module migration per PR. |
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.
No description provided.