-
-
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
[16.0][MIG] dms #262
[16.0][MIG] dms #262
Commits on Sep 18, 2023
-
Mathias Markl authored and KB committed
Sep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 6e1c3a7 - Browse repository at this point
Copy the full SHA 6e1c3a7View commit details -
Mathias Markl authored and KB committed
Sep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 71032f2 - Browse repository at this point
Copy the full SHA 71032f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for a5808d1 - Browse repository at this point
Copy the full SHA a5808d1View commit details -
Mathias Markl authored and KB committed
Sep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for bac8561 - Browse repository at this point
Copy the full SHA bac8561View commit details -
Add Ukrainian translation to mik_dms and muk_dms_access
Ostap Yakovenko authored and KB committedSep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 845762d - Browse repository at this point
Copy the full SHA 845762dView commit details -
Configuration menu - View commit details
-
Copy full SHA for a23ca31 - Browse repository at this point
Copy the full SHA a23ca31View commit details -
Configuration menu - View commit details
-
Copy full SHA for 71f151b - Browse repository at this point
Copy the full SHA 71f151bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c4272c - Browse repository at this point
Copy the full SHA 1c4272cView commit details -
Configuration menu - View commit details
-
Copy full SHA for de817c0 - Browse repository at this point
Copy the full SHA de817c0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1450027 - Browse repository at this point
Copy the full SHA 1450027View commit details -
Gelu authored and KB committed
Sep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 2f33a8b - Browse repository at this point
Copy the full SHA 2f33a8bView commit details -
Antoni Romera authored and KB committed
Sep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 0c0641f - Browse repository at this point
Copy the full SHA 0c0641fView commit details -
Configuration menu - View commit details
-
Copy full SHA for b479c2f - Browse repository at this point
Copy the full SHA b479c2fView commit details -
Gelu authored and KB committed
Sep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for d6ac81d - Browse repository at this point
Copy the full SHA d6ac81dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1e832e2 - Browse repository at this point
Copy the full SHA 1e832e2View commit details -
Gelu authored and KB committed
Sep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for b3991dd - Browse repository at this point
Copy the full SHA b3991ddView commit details -
[ADD] dms: add funcionality of muk_dms_file
Antoni Romera authored and KB committedSep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 02bba1e - Browse repository at this point
Copy the full SHA 02bba1eView commit details -
Configuration menu - View commit details
-
Copy full SHA for bb07837 - Browse repository at this point
Copy the full SHA bb07837View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d7fddd - Browse repository at this point
Copy the full SHA 9d7fdddView commit details -
Gelu authored and KB committed
Sep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 7c10184 - Browse repository at this point
Copy the full SHA 7c10184View commit details -
Configuration menu - View commit details
-
Copy full SHA for c23657c - Browse repository at this point
Copy the full SHA c23657cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b4088c - Browse repository at this point
Copy the full SHA 0b4088cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4176f1e - Browse repository at this point
Copy the full SHA 4176f1eView 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 add1d27 - Browse repository at this point
Copy the full SHA add1d27View commit details -
Configuration menu - View commit details
-
Copy full SHA for b16c71e - Browse repository at this point
Copy the full SHA b16c71eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1f01719 - Browse repository at this point
Copy the full SHA 1f01719View commit details -
Configuration menu - View commit details
-
Copy full SHA for 30b9df6 - Browse repository at this point
Copy the full SHA 30b9df6View 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
Jairo Llopis authored and KB committedSep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for f7c64f5 - Browse repository at this point
Copy the full SHA f7c64f5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 95e8d96 - Browse repository at this point
Copy the full SHA 95e8d96View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1d6ed9c - Browse repository at this point
Copy the full SHA 1d6ed9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f6cfc7 - Browse repository at this point
Copy the full SHA 5f6cfc7View commit details -
[ADD] DMS integration with attachment
[IMP] dms: Attachment integration
Configuration menu - View commit details
-
Copy full SHA for 9bae750 - Browse repository at this point
Copy the full SHA 9bae750View commit details -
Configuration menu - View commit details
-
Copy full SHA for 88ac0b4 - Browse repository at this point
Copy the full SHA 88ac0b4View commit details -
Configuration menu - View commit details
-
Copy full SHA for b51dc78 - Browse repository at this point
Copy the full SHA b51dc78View commit details -
Translated using Weblate (Hebrew)
Currently translated at 80.4% (254 of 316 strings) Translation: dms-13.0/dms-13.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-13-0/dms-13-0-dms/he_IL/
Configuration menu - View commit details
-
Copy full SHA for fb98992 - Browse repository at this point
Copy the full SHA fb98992View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99a2d0b - Browse repository at this point
Copy the full SHA 99a2d0bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4dde867 - Browse repository at this point
Copy the full SHA 4dde867View 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 e2cfe68 - Browse repository at this point
Copy the full SHA e2cfe68View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8ff0748 - Browse repository at this point
Copy the full SHA 8ff0748View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8697d1 - Browse repository at this point
Copy the full SHA d8697d1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1c5a4dc - Browse repository at this point
Copy the full SHA 1c5a4dcView commit details -
Configuration menu - View commit details
-
Copy full SHA for d6785a0 - Browse repository at this point
Copy the full SHA d6785a0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9148608 - Browse repository at this point
Copy the full SHA 9148608View 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 ef99706 - Browse repository at this point
Copy the full SHA ef99706View 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 9ccc9a3 - Browse repository at this point
Copy the full SHA 9ccc9a3View 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 624310f - Browse repository at this point
Copy the full SHA 624310fView commit details -
Configuration menu - View commit details
-
Copy full SHA for aadb96a - Browse repository at this point
Copy the full SHA aadb96aView 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 ebb9cc2 - Browse repository at this point
Copy the full SHA ebb9cc2View 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 c980a6b - Browse repository at this point
Copy the full SHA c980a6bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 52376a5 - Browse repository at this point
Copy the full SHA 52376a5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 39de18e - Browse repository at this point
Copy the full SHA 39de18eView commit details -
Configuration menu - View commit details
-
Copy full SHA for f5fa5c9 - Browse repository at this point
Copy the full SHA f5fa5c9View 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 ee2b37e - Browse repository at this point
Copy the full SHA ee2b37eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e76ba0 - Browse repository at this point
Copy the full SHA 2e76ba0View 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 a1b6ce8 - Browse repository at this point
Copy the full SHA a1b6ce8View 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 5255e04 - Browse repository at this point
Copy the full SHA 5255e04View commit details -
... so to speak. @Tecnativa TT29847
Jairo Llopis authored and KB committedSep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 9bf824c - Browse repository at this point
Copy the full SHA 9bf824cView 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
Jairo Llopis authored and KB committedSep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 60f1a7b - Browse repository at this point
Copy the full SHA 60f1a7bView 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
Jairo Llopis authored and KB committedSep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for c76a73b - Browse repository at this point
Copy the full SHA c76a73bView 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
Jairo Llopis authored and KB committedSep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for bb2ef6f - Browse repository at this point
Copy the full SHA bb2ef6fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2ceb4ac - Browse repository at this point
Copy the full SHA 2ceb4acView 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 5032d12 - Browse repository at this point
Copy the full SHA 5032d12View 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
Jairo Llopis authored and KB committedSep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 08b2774 - Browse repository at this point
Copy the full SHA 08b2774View 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 d9a9e80 - Browse repository at this point
Copy the full SHA d9a9e80View 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 b35bc6d - Browse repository at this point
Copy the full SHA b35bc6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7652d20 - Browse repository at this point
Copy the full SHA 7652d20View 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
Jairo Llopis authored and KB committedSep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 55455f4 - Browse repository at this point
Copy the full SHA 55455f4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5f22dfd - Browse repository at this point
Copy the full SHA 5f22dfdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64895c8 - Browse repository at this point
Copy the full SHA 64895c8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca66eea - Browse repository at this point
Copy the full SHA ca66eeaView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2914173 - Browse repository at this point
Copy the full SHA 2914173View commit details -
Configuration menu - View commit details
-
Copy full SHA for ca5d546 - Browse repository at this point
Copy the full SHA ca5d546View 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 0bfaeb0 - Browse repository at this point
Copy the full SHA 0bfaeb0View 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 1531dc6 - Browse repository at this point
Copy the full SHA 1531dc6View 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 fbb645c - Browse repository at this point
Copy the full SHA fbb645cView 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 d6747c7 - Browse repository at this point
Copy the full SHA d6747c7View 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 5e0e327 - Browse repository at this point
Copy the full SHA 5e0e327View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5648be3 - Browse repository at this point
Copy the full SHA 5648be3View commit details -
Configuration menu - View commit details
-
Copy full SHA for ba882fb - Browse repository at this point
Copy the full SHA ba882fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 95ea808 - Browse repository at this point
Copy the full SHA 95ea808View commit details -
oca-ci authored and KB committed
Sep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for f368228 - Browse repository at this point
Copy the full SHA f368228View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4f7f3fa - Browse repository at this point
Copy the full SHA 4f7f3faView 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 675883c - Browse repository at this point
Copy the full SHA 675883cView commit details -
oca-ci authored and KB committed
Sep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 285d4a7 - Browse repository at this point
Copy the full SHA 285d4a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8b66ed - Browse repository at this point
Copy the full SHA d8b66edView commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: dms-15.0/dms-15.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-15-0/dms-15-0-dms/
Configuration menu - View commit details
-
Copy full SHA for 36fe3a6 - Browse repository at this point
Copy the full SHA 36fe3a6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96df043 - Browse repository at this point
Copy the full SHA 96df043View 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 e05712b - Browse repository at this point
Copy the full SHA e05712bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8575c04 - Browse repository at this point
Copy the full SHA 8575c04View 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 4b156cb - Browse repository at this point
Copy the full SHA 4b156cbView commit details -
Configuration menu - View commit details
-
Copy full SHA for ff01c8f - Browse repository at this point
Copy the full SHA ff01c8fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 882718f - Browse repository at this point
Copy the full SHA 882718fView commit details -
Configuration menu - View commit details
-
Copy full SHA for df2602d - Browse repository at this point
Copy the full SHA df2602dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 09340ac - Browse repository at this point
Copy the full SHA 09340acView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5657ba0 - Browse repository at this point
Copy the full SHA 5657ba0View 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 73a4ec7 - Browse repository at this point
Copy the full SHA 73a4ec7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ce8044 - Browse repository at this point
Copy the full SHA 3ce8044View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2f532e0 - Browse repository at this point
Copy the full SHA 2f532e0View 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 7718df3 - Browse repository at this point
Copy the full SHA 7718df3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 07043f0 - Browse repository at this point
Copy the full SHA 07043f0View commit details -
oca-ci authored and KB committed
Sep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 56bd017 - Browse repository at this point
Copy the full SHA 56bd017View commit details -
Configuration menu - View commit details
-
Copy full SHA for ae33077 - Browse repository at this point
Copy the full SHA ae33077View commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: dms-15.0/dms-15.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-15-0/dms-15-0-dms/
Configuration menu - View commit details
-
Copy full SHA for 89920a5 - Browse repository at this point
Copy the full SHA 89920a5View 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 6690f64 - Browse repository at this point
Copy the full SHA 6690f64View commit details -
Configuration menu - View commit details
-
Copy full SHA for c840756 - Browse repository at this point
Copy the full SHA c840756View commit details -
Configuration menu - View commit details
-
Copy full SHA for bc0ebbe - Browse repository at this point
Copy the full SHA bc0ebbeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 126c06b - Browse repository at this point
Copy the full SHA 126c06bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d75e24e - Browse repository at this point
Copy the full SHA d75e24eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2836d3a - Browse repository at this point
Copy the full SHA 2836d3aView 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 dd73703 - Browse repository at this point
Copy the full SHA dd73703View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9909389 - Browse repository at this point
Copy the full SHA 9909389View 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 3d284cf - Browse repository at this point
Copy the full SHA 3d284cfView commit details -
Configuration menu - View commit details
-
Copy full SHA for e579a88 - Browse repository at this point
Copy the full SHA e579a88View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99825c1 - Browse repository at this point
Copy the full SHA 99825c1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 90481af - Browse repository at this point
Copy the full SHA 90481afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0b7a584 - Browse repository at this point
Copy the full SHA 0b7a584View commit details -
oca-ci authored and KB committed
Sep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for dd20284 - Browse repository at this point
Copy the full SHA dd20284View commit details -
Configuration menu - View commit details
-
Copy full SHA for 65e7824 - Browse repository at this point
Copy the full SHA 65e7824View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6f55f0a - Browse repository at this point
Copy the full SHA 6f55f0aView commit details -
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate. Translation: dms-15.0/dms-15.0-dms Translate-URL: https://translation.odoo-community.org/projects/dms-15-0/dms-15-0-dms/
Configuration menu - View commit details
-
Copy full SHA for 253a354 - Browse repository at this point
Copy the full SHA 253a354View 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 f4ff79b - Browse repository at this point
Copy the full SHA f4ff79bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d02043 - Browse repository at this point
Copy the full SHA 3d02043View 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 172ffb1 - Browse repository at this point
Copy the full SHA 172ffb1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 21f0518 - Browse repository at this point
Copy the full SHA 21f0518View commit details -
Configuration menu - View commit details
-
Copy full SHA for c7f22af - Browse repository at this point
Copy the full SHA c7f22afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7110a22 - Browse repository at this point
Copy the full SHA 7110a22View 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 198758f - Browse repository at this point
Copy the full SHA 198758fView commit details -
Configuration menu - View commit details
-
Copy full SHA for a561d5a - Browse repository at this point
Copy the full SHA a561d5aView 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 a9df14d - Browse repository at this point
Copy the full SHA a9df14dView commit details -
Translated using Weblate (Spanish)
Currently translated at 100.0% (338 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 74c10c7 - Browse repository at this point
Copy the full SHA 74c10c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for dc11e34 - Browse repository at this point
Copy the full SHA dc11e34View commit details -
KB committed
Sep 18, 2023 Configuration menu - View commit details
-
Copy full SHA for 87340fd - Browse repository at this point
Copy the full SHA 87340fdView commit details
Commits on Oct 30, 2023
-
[MIG] dms: Migration from 15.0 to 16.0
KB committedOct 30, 2023 Configuration menu - View commit details
-
Copy full SHA for 05f7c67 - Browse repository at this point
Copy the full SHA 05f7c67View commit details