-
-
Notifications
You must be signed in to change notification settings - Fork 171
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
[17.0][MIG] DMS : Migration to 17.0 #323
Commits on Jun 7, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1a2bf46 - Browse repository at this point
Copy the full SHA 1a2bf46View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4d0ad22 - Browse repository at this point
Copy the full SHA 4d0ad22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 60c8ef2 - Browse repository at this point
Copy the full SHA 60c8ef2View commit details -
Configuration menu - View commit details
-
Copy full SHA for ac24098 - Browse repository at this point
Copy the full SHA ac24098View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1ee73eb - Browse repository at this point
Copy the full SHA 1ee73ebView commit details -
Configuration menu - View commit details
-
Copy full SHA for f50b1a9 - Browse repository at this point
Copy the full SHA f50b1a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9418458 - Browse repository at this point
Copy the full SHA 9418458View commit details -
Configuration menu - View commit details
-
Copy full SHA for d50f942 - Browse repository at this point
Copy the full SHA d50f942View commit details -
Configuration menu - View commit details
-
Copy full SHA for e076f78 - Browse repository at this point
Copy the full SHA e076f78View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82e0271 - Browse repository at this point
Copy the full SHA 82e0271View commit details -
Configuration menu - View commit details
-
Copy full SHA for 952b20e - Browse repository at this point
Copy the full SHA 952b20eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 48505bb - Browse repository at this point
Copy the full SHA 48505bbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9fc927d - Browse repository at this point
Copy the full SHA 9fc927dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fca575 - Browse repository at this point
Copy the full SHA 1fca575View commit details -
Configuration menu - View commit details
-
Copy full SHA for d7160a0 - Browse repository at this point
Copy the full SHA d7160a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9a69956 - Browse repository at this point
Copy the full SHA 9a69956View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d4486f - Browse repository at this point
Copy the full SHA 1d4486fView commit details -
Configuration menu - View commit details
-
Copy full SHA for be94fb5 - Browse repository at this point
Copy the full SHA be94fb5View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa06706 - Browse repository at this point
Copy the full SHA aa06706View commit details -
Configuration menu - View commit details
-
Copy full SHA for 578614d - Browse repository at this point
Copy the full SHA 578614dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 46ef536 - Browse repository at this point
Copy the full SHA 46ef536View commit details -
Configuration menu - View commit details
-
Copy full SHA for 101fc75 - Browse repository at this point
Copy the full SHA 101fc75View commit details -
Configuration menu - View commit details
-
Copy full SHA for c9496c8 - Browse repository at this point
Copy the full SHA c9496c8View commit details -
[13.0][MIG] dms: make migrations scripts compatible with older
versions of muk_dms than 12.0.2.0.0. Tested from 1.2.4 version.
Configuration menu - View commit details
-
Copy full SHA for c4e8a65 - Browse repository at this point
Copy the full SHA c4e8a65View commit details -
Configuration menu - View commit details
-
Copy full SHA for 52f03a7 - Browse repository at this point
Copy the full SHA 52f03a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 62b9802 - Browse repository at this point
Copy the full SHA 62b9802View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1fd6fa6 - Browse repository at this point
Copy the full SHA 1fd6fa6View commit details -
In v13, this test is programmed in such a way that the demo user is supposed to be able to copy that subdirectory: https://github.com/OCA/dms/blob/c3f802db43362127e70d8c7b4987fb71d4c1f01c/dms/tests/test_directory.py#L40 However, in OCA#7 that test was modified indicating that demo user didn't have permissions to do that: https://github.com/OCA/dms/blob/e3b6d8d24534f2a68bfb88e310cc70cefe46bb64/dms/tests/test_directory.py#L39 Rolling back that change to ensure premissions remain the same in both versions of the module. Also changing the directory to test to ensure it contains no SVG files, whose detection seems to differ among environments, and which have some specific permission restrictions that can make the modified test fail or pass. @Tecnativa TT25645
Configuration menu - View commit details
-
Copy full SHA for a7fb62a - Browse repository at this point
Copy the full SHA a7fb62aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 78f8239 - Browse repository at this point
Copy the full SHA 78f8239View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9caa87e - Browse repository at this point
Copy the full SHA 9caa87eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 37f0e42 - Browse repository at this point
Copy the full SHA 37f0e42View commit details -
[ADD] DMS integration with attachment
[IMP] dms: Attachment integration
Configuration menu - View commit details
-
Copy full SHA for d890a46 - Browse repository at this point
Copy the full SHA d890a46View commit details -
Configuration menu - View commit details
-
Copy full SHA for cf04457 - Browse repository at this point
Copy the full SHA cf04457View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7eb5565 - Browse repository at this point
Copy the full SHA 7eb5565View commit details -
Configuration menu - View commit details
-
Copy full SHA for e6e5ee9 - Browse repository at this point
Copy the full SHA e6e5ee9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1dd63f0 - Browse repository at this point
Copy the full SHA 1dd63f0View commit details -
[FIX] dms: Fix error when web_drop_target addon used to create new fi…
…le + remove content field in tree
Configuration menu - View commit details
-
Copy full SHA for 3e2a03e - Browse repository at this point
Copy the full SHA 3e2a03eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e6536a - Browse repository at this point
Copy the full SHA 1e6536aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 70f577a - Browse repository at this point
Copy the full SHA 70f577aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a0b193 - Browse repository at this point
Copy the full SHA 6a0b193View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b712c7 - Browse repository at this point
Copy the full SHA 7b712c7View commit details -
[FIX] dms: Use sudo() in attachment operacion (search dms directories…
… and auto-create directories and files if is needed) to prevent error in attachment(s) creation Co-authored-by: Jairo Llopis <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7880555 - Browse repository at this point
Copy the full SHA 7880555View commit details -
[REF+FIX] dms: Refactor code to create abstract.dms.mixin to contain …
…fields or functions that is used in some models (in these case some fields appear in directory and field and some functions about it). Fixed problem happen when access to file or folder view if record ref is set (file or folder has been created in attachment creation in partner for example)
Configuration menu - View commit details
-
Copy full SHA for d32d4ca - Browse repository at this point
Copy the full SHA d32d4caView commit details -
[FIX] dms: Prevent error when archive records and later process try t…
…o create again + Add test to check it
Configuration menu - View commit details
-
Copy full SHA for d457b54 - Browse repository at this point
Copy the full SHA d457b54View commit details -
[FIX] dms: Add domain operator
Fixes issue OCA#69
Configuration menu - View commit details
-
Copy full SHA for f4c986e - Browse repository at this point
Copy the full SHA f4c986eView commit details -
[12.0] [FIX] dms: Check
default_directory_id
context keyWhen creating an attachment, check `default_directory_id` too because this key comes from kanban js view and it's like `active_id` when creating files from drag and drop (drop target). This change will allow to view the new file on the associated record if the folder has `res_model` and `res_id` (the parent folder is an attachment storage) Fixes OCA#72
Configuration menu - View commit details
-
Copy full SHA for c549a6b - Browse repository at this point
Copy the full SHA c549a6bView commit details -
[FIX] dms: Prevent parent_id error in directories in some UI cases [F…
…IX] dms: Change allowed_model_ids field in directory to related [FIX] dms: Change res_model + res_id fields in files to related
Configuration menu - View commit details
-
Copy full SHA for 491e716 - Browse repository at this point
Copy the full SHA 491e716View commit details -
Configuration menu - View commit details
-
Copy full SHA for 74eafd7 - Browse repository at this point
Copy the full SHA 74eafd7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17386d0 - Browse repository at this point
Copy the full SHA 17386d0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7b363e4 - Browse repository at this point
Copy the full SHA 7b363e4View commit details -
[FIX] dms: Remove action column in portal (only used in files) and co…
…nvert file name to link (download)
Configuration menu - View commit details
-
Copy full SHA for 85823b1 - Browse repository at this point
Copy the full SHA 85823b1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71a77f2 - Browse repository at this point
Copy the full SHA 71a77f2View commit details -
[FIX] dms: Improve tests to prevent error if installed other addons a…
…fter dms install and new addons auto-create partners
Configuration menu - View commit details
-
Copy full SHA for 77f0ee1 - Browse repository at this point
Copy the full SHA 77f0ee1View commit details -
[FIX] dms: Apply _apply_access_groups correctly (specially according …
…to files) to get only records to get only allowed records according to directories groups.
Configuration menu - View commit details
-
Copy full SHA for 99c711c - Browse repository at this point
Copy the full SHA 99c711cView commit details -
... so to speak. @Tecnativa TT29847
Configuration menu - View commit details
-
Copy full SHA for f8c1639 - Browse repository at this point
Copy the full SHA f8c1639View commit details -
[FIX] dms: cascade removal of related files/directories
When some dms.directory or dms.file was related to a real DB record (a.k.a. attachment storage), if the record got deleted, the DMS mirror was still alive. If the dms.storage had inherit_access_from_parent_record=True, the situation got worse because the dms.directory became visible to everyone. @Tecnativa TT30223
Configuration menu - View commit details
-
Copy full SHA for d21bb20 - Browse repository at this point
Copy the full SHA d21bb20View commit details -
[FIX] dms: do not fail for missing models on upgrade
Module upgrade is done in a constrained environment where the `dms` module is only aware of models declared in its dependency tree. If some upgrade operation tries to write to a file or directory that is attached to a model-based storage, the upgrade would fail with a `KeyError` when trying to get the model. This fix allows normal and predictable upgrades in such cases. @Tecnativa TT29847
Configuration menu - View commit details
-
Copy full SHA for d169e39 - Browse repository at this point
Copy the full SHA d169e39View commit details -
[FIX] dms: image thumbnails performance
- Portal was too slow to load because every thumbnail came base64-encoded. Instead, now it loads resources externally, making the initial request much faster, and benefiting from caching. - Fields `custom_thumbnail_medium` and `custom_thumbnail_small` are now stored, because non-stored thumbnails become performance bottlenecks easily. - Added field `icon_url` that allows using always the exact same image path for the exact same mime type. This saves a lot of requests and bandwidth. - Fields `thumbnail`, `thumbnail_medium` and `thumbnail_small` are now only used in forms, and do not perform resize operations. - Remove unused `size` parameter in thumbnail internal getters. - All thumbnail fields were getting resized to sizes that were different from the sizes that, later, were actually used in UI, thus making the UI always re-resize them. Removed that nonsense. Thumbnails now use the same size that the UI will require, and then UI needs to ask for no resizes. - Typo fixed in unknown file default thumbnail. - Do your customers really know what a mime type is? I bet not. Remove "type" column from portal. Thumbnails provide all the required information. @Tecnativa TT29847
Configuration menu - View commit details
-
Copy full SHA for bad48f3 - Browse repository at this point
Copy the full SHA bad48f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8a94b3 - Browse repository at this point
Copy the full SHA d8a94b3View commit details -
[REF] dms: modify permissions computation
- Remove `perm_read` field from `dms.access.group`. It is redundant to the mere existence of the group. Otherwise, users could be able to create, write or unlink records that they cannot read. To avoid confusion, it is removed. - Add portal group access to mails directory, to make one test pass. This was a false positive before. - Forbid `dms.access.group` recursiveness. - Compute inclusive permissions in `dms.access.group`, which combine current group with parent group permissions. - Rely on domain search of `permission_{create,read,unlink,write}` in `dms.directory` and `dms.file` when checking those accesses to records. These search methods are improved to reflect permission reality and add it to the domain. - Added a hack to workaround situations where the current context user is superuser, but it's actually checking for other user permissions. - These checks are added as normal `ir.rule` records. - To create something in a directory, you need create access in the parent directory. - For other operations, and only in subdirs, the own dir access is checked. - Batch operations when checking inherited permissions. - Remove many custom methods to check access, now that we use ORM's. - Fix custom cascade dir unlink. - Use `consteq()` when checking access tokens, for security. - Remove duplicated security computations from `dms.directory` and `dms.file`. Use proper inheritance. - Use `ir.rule` for checking locked files. - Add or fix tests for new permissions model. - Define groups to root folder "Media" (according to the previous expected operation). - Add the Admin + Demo user group to "Mails" folder (according to the previous expected operation). - Add sudo() in the creation of the directory to "force" that it can be created because the correct parameter of permission_read can only be correctly defined when the record exists and the complete_group_ids records have been created (in 13.0 it is not necessary). - Add default group (Admin + Demo user) when creating directive in tests. - Corrections tests of record_ref - Fix prevent error related to mail_message parent not exists in some cases (directory) @Tecnativa TT29847 Co-authored-by: Víctor Martínez <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for de33159 - Browse repository at this point
Copy the full SHA de33159View commit details -
[FIX] dms: respect computed security rules in all contexts
The fix is similar to [v12 creation workaround][1], with some differences: 1. It is applied to both `dms.directory` and `dms.file`, as both need to use this. 2. In v13 Odoo uses now `_filter_access_rules_python()` by default, which is incompatible with DMS' security hack, so we make use of `_filter_access_rules()` always. Some comments explain the HACK. 3. `flush()` before doing the creation access check, so all data is in DB before we issue the `SELECT` needed to check permissions properly. [1]: https://github.com/OCA/dms/blob/db9cb933ba4f29cc1a610190c32e2ff4bb16b1ce/dms/models/directory.py#L654-L661
Configuration menu - View commit details
-
Copy full SHA for b46ccc5 - Browse repository at this point
Copy the full SHA b46ccc5View commit details -
[FIX] dms: Prevent error (apply sudo()) when recursive directories re…
…ad from files creation in _compute_path() if some directory not allowed from user
Configuration menu - View commit details
-
Copy full SHA for afcebdf - Browse repository at this point
Copy the full SHA afcebdfView commit details -
[FIX] dms: Fix tests for environments that add other groups to base u…
…sers Instead of relying on base users, create the ones we need for the test.
Configuration menu - View commit details
-
Copy full SHA for 4aecc86 - Browse repository at this point
Copy the full SHA 4aecc86View commit details -
Configuration menu - View commit details
-
Copy full SHA for 758398e - Browse repository at this point
Copy the full SHA 758398eView commit details -
[IMP] dms: automatic image thumbnails
- If a dms.file contains an image, use it as thumbnail automatically, and hide controls for customizing that record's thumbnail. - Remove `.png` icons, unused. - Clarify distinction between icon and thumbnail. - Inherit from `image.mixin` for thumbnails. - Save custom thumbnails as attachments instead of db binary fields. @Tecnativa TT31004
Configuration menu - View commit details
-
Copy full SHA for 8f94468 - Browse repository at this point
Copy the full SHA 8f94468View commit details -
Configuration menu - View commit details
-
Copy full SHA for 560da8c - Browse repository at this point
Copy the full SHA 560da8cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6183ce6 - Browse repository at this point
Copy the full SHA 6183ce6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 267eed4 - Browse repository at this point
Copy the full SHA 267eed4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 639a066 - Browse repository at this point
Copy the full SHA 639a066View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7d27cea - Browse repository at this point
Copy the full SHA 7d27ceaView commit details -
[FIX] dms: Show the total of files (of all subdirectories) in the for…
…m view of the directories.
Configuration menu - View commit details
-
Copy full SHA for f5d6321 - Browse repository at this point
Copy the full SHA f5d6321View commit details -
[FIX] dms: Define the file extension correctly (even if there is no e…
…xtension in the file name).
Configuration menu - View commit details
-
Copy full SHA for 2b3b757 - Browse repository at this point
Copy the full SHA 2b3b757View commit details -
[FIX] dms: Prevent CacheMis error from count_total_files in some NewI…
…d use cases. TT34095
Configuration menu - View commit details
-
Copy full SHA for f93d516 - Browse repository at this point
Copy the full SHA f93d516View commit details -
[FIX] dms: Change size field type from integer to float to prevent 21…
…47483647 limit from postgresql. TT33935
Configuration menu - View commit details
-
Copy full SHA for c047f98 - Browse repository at this point
Copy the full SHA c047f98View commit details -
[FIX] dms: Replace the content field with size in the form view of th…
…e directory (file_ids field) because it is totally wrong to try to show that field. TT34353
Configuration menu - View commit details
-
Copy full SHA for 2fc5682 - Browse repository at this point
Copy the full SHA 2fc5682View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d22e1a - Browse repository at this point
Copy the full SHA 3d22e1aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5284441 - Browse repository at this point
Copy the full SHA 5284441View commit details -
Configuration menu - View commit details
-
Copy full SHA for ffd74f9 - Browse repository at this point
Copy the full SHA ffd74f9View commit details -
[FIX] dms: Add Archived ribbon in form views and remove active field …
…from tree views.
Configuration menu - View commit details
-
Copy full SHA for 4565e67 - Browse repository at this point
Copy the full SHA 4565e67View commit details -
Configuration menu - View commit details
-
Copy full SHA for e147a06 - Browse repository at this point
Copy the full SHA e147a06View commit details -
Translated using Weblate (German)
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/
Configuration menu - View commit details
-
Copy full SHA for a834155 - Browse repository at this point
Copy the full SHA a834155View commit details -
[IMP+FIX] dms: Searchpanel changes:
- 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.
Configuration menu - View commit details
-
Copy full SHA for 33ccd27 - Browse repository at this point
Copy the full SHA 33ccd27View commit details -
Configuration menu - View commit details
-
Copy full SHA for 16648b3 - Browse repository at this point
Copy the full SHA 16648b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dbd817 - Browse repository at this point
Copy the full SHA 4dbd817View commit details -
[IMP] dms: Changes in file tree view: - Set multi_edit - Add tag_ids …
…field - Remove path_names field - Remove FieldPathNames (related to path_names)
Configuration menu - View commit details
-
Copy full SHA for f9e368b - Browse repository at this point
Copy the full SHA f9e368bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ed7294 - Browse repository at this point
Copy the full SHA 7ed7294View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88df5b4 - Browse repository at this point
Copy the full SHA 88df5b4View commit details -
[IMP] dms: Show in directory kaban view only root directories (Change…
… All text to Root) + Change to searchpanel directory_id (in files) or parent_id (in directories) to filter equal and not child_of
Configuration menu - View commit details
-
Copy full SHA for c5538f5 - Browse repository at this point
Copy the full SHA c5538f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3a42815 - Browse repository at this point
Copy the full SHA 3a42815View commit details -
[FIX] dms: Searchpanel from directories
We need to overwrite function from directories because odoo only return records with childs (very weird for user perspective). All records are returned now.
Configuration menu - View commit details
-
Copy full SHA for c630378 - Browse repository at this point
Copy the full SHA c630378View commit details -
Configuration menu - View commit details
-
Copy full SHA for 79b142f - Browse repository at this point
Copy the full SHA 79b142fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9b8cfa3 - Browse repository at this point
Copy the full SHA 9b8cfa3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a81b635 - Browse repository at this point
Copy the full SHA a81b635View commit details -
[FIX] dms: Remove parent_id defined if you do not have access to it (…
…search panel directory). TT41585
Configuration menu - View commit details
-
Copy full SHA for 64c074e - Browse repository at this point
Copy the full SHA 64c074eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3c6220 - Browse repository at this point
Copy the full SHA b3c6220View commit details -
[FIX] dms: Get the "parent" directories (those of the top level to wh…
…ich you have access) in the portal view. TT41585
Configuration menu - View commit details
-
Copy full SHA for ec4812e - Browse repository at this point
Copy the full SHA ec4812eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d22cc0 - Browse repository at this point
Copy the full SHA 8d22cc0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8fb6d91 - Browse repository at this point
Copy the full SHA 8fb6d91View commit details -
[FIX] dms: dms.file thumbnail generation checks for supported mimetypes
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
Configuration menu - View commit details
-
Copy full SHA for 85b9891 - Browse repository at this point
Copy the full SHA 85b9891View commit details -
[IMP] dms: more restrictive access rights for access groups
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.
Configuration menu - View commit details
-
Copy full SHA for 1362d3c - Browse repository at this point
Copy the full SHA 1362d3cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 581f1bc - Browse repository at this point
Copy the full SHA 581f1bcView commit details -
[FIX] dms: Explicitly exclude the pdf type in the image_1920 field of…
… the files. TT43563
Configuration menu - View commit details
-
Copy full SHA for 908d699 - Browse repository at this point
Copy the full SHA 908d699View commit details -
Translated using Weblate (Spanish)
Currently translated at 94.3% (319 of 338 strings) Translation: dms-15.0/dms-15.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-15-0/dms-15-0-dms/es/
Configuration menu - View commit details
-
Copy full SHA for 4858a93 - Browse repository at this point
Copy the full SHA 4858a93View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6d710a - Browse repository at this point
Copy the full SHA a6d710aView commit details -
Configuration menu - View commit details
-
Copy full SHA for b799045 - Browse repository at this point
Copy the full SHA b799045View commit details -
Translated using Weblate (Portuguese (Brazil))
Currently translated at 70.0% (238 of 340 strings) Translation: dms-16.0/dms-16.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-16-0/dms-16-0-dms/pt_BR/
Configuration menu - View commit details
-
Copy full SHA for 6e6918f - Browse repository at this point
Copy the full SHA 6e6918fView commit details -
Translated using Weblate (Portuguese (Brazil))
Currently translated at 75.5% (257 of 340 strings) Translation: dms-16.0/dms-16.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-16-0/dms-16-0-dms/pt_BR/
Configuration menu - View commit details
-
Copy full SHA for 81ae136 - Browse repository at this point
Copy the full SHA 81ae136View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2629d62 - Browse repository at this point
Copy the full SHA 2629d62View commit details -
Translated using Weblate (Portuguese (Brazil))
Currently translated at 95.8% (326 of 340 strings) Translation: dms-16.0/dms-16.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-16-0/dms-16-0-dms/pt_BR/
Configuration menu - View commit details
-
Copy full SHA for a6525c6 - Browse repository at this point
Copy the full SHA a6525c6View commit details -
Translated using Weblate (Portuguese (Brazil))
Currently translated at 96.1% (327 of 340 strings) Translation: dms-16.0/dms-16.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-16-0/dms-16-0-dms/pt_BR/
Configuration menu - View commit details
-
Copy full SHA for 84a89bf - Browse repository at this point
Copy the full SHA 84a89bfView commit details -
Translated using Weblate (Italian)
Currently translated at 16.7% (57 of 340 strings) Translation: dms-16.0/dms-16.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-16-0/dms-16-0-dms/it/
Configuration menu - View commit details
-
Copy full SHA for 9e4e370 - Browse repository at this point
Copy the full SHA 9e4e370View commit details -
Translated using Weblate (Spanish)
Currently translated at 100.0% (340 of 340 strings) Translation: dms-16.0/dms-16.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-16-0/dms-16-0-dms/es/
Configuration menu - View commit details
-
Copy full SHA for 51153c8 - Browse repository at this point
Copy the full SHA 51153c8View commit details -
[FIX] dms: remove padding only for directory kanban records
16.0 migration added css to remove padding from dms directory kanban records. Inadvertently, it removed padding from *all* kanban view records in odoo. This commit fixes it by removing the problematic css. Instead, padding is removed only from directory kanban view records, in a manner similar to what file_kanban.scss does for file kanban view. Fixes OCA#271
Configuration menu - View commit details
-
Copy full SHA for adda607 - Browse repository at this point
Copy the full SHA adda607View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (340 of 340 strings) Translation: dms-16.0/dms-16.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-16-0/dms-16-0-dms/it/
Configuration menu - View commit details
-
Copy full SHA for 81f673b - Browse repository at this point
Copy the full SHA 81f673bView commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (340 of 340 strings) Translation: dms-16.0/dms-16.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-16-0/dms-16-0-dms/it/
Configuration menu - View commit details
-
Copy full SHA for 3c8b316 - Browse repository at this point
Copy the full SHA 3c8b316View commit details -
[IMP] dms: Show all directories in searchpanel from files
TT46388 [FIX] dms: Set the correct parent_id of directories in searchpanel If the parent directory is not in all the records we should not set parent_id because the user does not have access to parent. TT46388 [FIX] dms: Avoid error when filtering in files If we filter on files (for example by name) we should not apply kwargs search_domain because we would be incorrectly filtering the directories by name, and we should always list them all. TT46903
Configuration menu - View commit details
-
Copy full SHA for 935728b - Browse repository at this point
Copy the full SHA 935728bView commit details -
[FIX] dms: Correctly filter records when selecting a searchpanel item…
… (similar to v15) In the migration to 16.0 this behavior was removed by mistake and was only done in directories OCA@05f7c67#diff-1bb531d306f9014026b38b47879cd2cc7bcb1deaebb7466327f4483a0a459fc3R25
Configuration menu - View commit details
-
Copy full SHA for 26f8368 - Browse repository at this point
Copy the full SHA 26f8368View commit details -
Translated using Weblate (Portuguese (Brazil))
Currently translated at 96.4% (328 of 340 strings) Translation: dms-16.0/dms-16.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-16-0/dms-16-0-dms/pt_BR/
Configuration menu - View commit details
-
Copy full SHA for 78db7df - Browse repository at this point
Copy the full SHA 78db7dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 674e630 - Browse repository at this point
Copy the full SHA 674e630View commit details -
Translated using Weblate (Spanish)
Currently translated at 100.0% (341 of 341 strings) Translation: dms-16.0/dms-16.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-16-0/dms-16-0-dms/es/
Configuration menu - View commit details
-
Copy full SHA for 2993ab2 - Browse repository at this point
Copy the full SHA 2993ab2View commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (341 of 341 strings) Translation: dms-16.0/dms-16.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-16-0/dms-16-0-dms/it/
Configuration menu - View commit details
-
Copy full SHA for 00e0a33 - Browse repository at this point
Copy the full SHA 00e0a33View commit details -
Configuration menu - View commit details
-
Copy full SHA for 81e9e02 - Browse repository at this point
Copy the full SHA 81e9e02View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9f72e91 - Browse repository at this point
Copy the full SHA 9f72e91View commit details -
[FIX] dms: Set the correct directory_id value according to the domain…
… to Upload button Example use case: - Go to Documents > Files menu. - Select a directory in search_panel (or from the Files smart-button of a directory). - Click on the "Upload" button - The file has been successfully added to the directory
Configuration menu - View commit details
-
Copy full SHA for 18fd683 - Browse repository at this point
Copy the full SHA 18fd683View commit details -
[FIX] dms: Fix smartbuttons from files and directories
Use case when clicking on smartbutton Files in a directory: - Only files in that directory or subdirectories are shown. - Only directory and child subdirectories are displayed in search panel. - Directory is auto-selected in search panel. Use case when clicking on smartbutton Subdirectories in a directory: - Only directories in that directory or subdirectories are displayed. - Directory is auto-selected in search panel.
Configuration menu - View commit details
-
Copy full SHA for c6a1a6b - Browse repository at this point
Copy the full SHA c6a1a6bView commit details -
Changes done: - Change setup() to setUpClass() - Add BaseCommon - Remove multi_users decorator (not used) - Remove _setup_test_data and _load from common (not used) - Change DirectoryMailTestCase (extends from StorageDatabaseBaseCase) - Add @mute_logger to skip unnecessary unlink logs
Configuration menu - View commit details
-
Copy full SHA for fd6b8df - Browse repository at this point
Copy the full SHA fd6b8dfView commit details -
Translated using Weblate (Italian)
Currently translated at 100.0% (340 of 340 strings) Translation: dms-16.0/dms-16.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-16-0/dms-16-0-dms/it/
Configuration menu - View commit details
-
Copy full SHA for 90df3d1 - Browse repository at this point
Copy the full SHA 90df3d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for c274a54 - Browse repository at this point
Copy the full SHA c274a54View commit details -
Configuration menu - View commit details
-
Copy full SHA for 50b3609 - Browse repository at this point
Copy the full SHA 50b3609View commit details -
[FIX] dms: Improve the unlink method in base to avoid errors
In the uninstall process of dms, checks were made that prevented the removal of fields and models being deleted, also causing the dms_file and dms_directory tables to continue to exist.
Configuration menu - View commit details
-
Copy full SHA for b676766 - Browse repository at this point
Copy the full SHA b676766View commit details -
Configuration menu - View commit details
-
Copy full SHA for f5bcf22 - Browse repository at this point
Copy the full SHA f5bcf22View commit details -
[FIX] dms: Change display_name from directory kanban buttons (Directo…
…ries and Files) To avoid inconsistency with the text displayed when clicking on the button, change display_name of the action to directory name. TT48180
Configuration menu - View commit details
-
Copy full SHA for 5098a60 - Browse repository at this point
Copy the full SHA 5098a60View commit details -
[IMP] dms: Add default_order to file and directory tree to prevent co…
…nfusion When using searchpanel and there is no default_order, records obtained have no defined order (search_read without order). TT48180
Configuration menu - View commit details
-
Copy full SHA for 00d8c74 - Browse repository at this point
Copy the full SHA 00d8c74View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8eab55 - Browse repository at this point
Copy the full SHA c8eab55View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14b7abe - Browse repository at this point
Copy the full SHA 14b7abeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ba4eb31 - Browse repository at this point
Copy the full SHA ba4eb31View commit details -
[IMP] dms: Remove string=Size from the human_size field to avoid the …
…warning of 2 fields with the same string.
Configuration menu - View commit details
-
Copy full SHA for 79f1bbf - Browse repository at this point
Copy the full SHA 79f1bbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for c788944 - Browse repository at this point
Copy the full SHA c788944View commit details -
Configuration menu - View commit details
-
Copy full SHA for fd98341 - Browse repository at this point
Copy the full SHA fd98341View commit details
Commits on Jun 20, 2024
-
[FIX] dms: Allow share (directories and files) without 'Contact creat…
…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
Configuration menu - View commit details
-
Copy full SHA for 28b104c - Browse repository at this point
Copy the full SHA 28b104cView commit details
Commits on Jul 26, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 0ffaf96 - Browse repository at this point
Copy the full SHA 0ffaf96View commit details