Skip to content
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

Merged
merged 133 commits into from
Nov 3, 2023
Merged

[16.0][MIG] dms #262

merged 133 commits into from
Nov 3, 2023

Commits on Sep 18, 2023

  1. Version 1.0.0

    Mathias Markl authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    6e1c3a7 View commit details
    Browse the repository at this point in the history
  2. 9.0 > 10.0

    Mathias Markl authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    71032f2 View commit details
    Browse the repository at this point in the history
  3. added markdown preview using showdown js library

    sherpya authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    a5808d1 View commit details
    Browse the repository at this point in the history
  4. update

    Mathias Markl authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    bac8561 View commit details
    Browse the repository at this point in the history
  5. Add Ukrainian translation to mik_dms and muk_dms_access

    Ostap Yakovenko authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    845762d View commit details
    Browse the repository at this point in the history
  6. Documents 2.0

    keshrath authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    a23ca31 View commit details
    Browse the repository at this point in the history
  7. publish muk_dms - 11.0

    keshrath authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    71f151b View commit details
    Browse the repository at this point in the history
  8. v12

    keshrath authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    1c4272c View commit details
    Browse the repository at this point in the history
  9. [IMP] : black, isort, prettier

    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    de817c0 View commit details
    Browse the repository at this point in the history
  10. [MIG] dms: from muk_dms to dms

    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    1450027 View commit details
    Browse the repository at this point in the history
  11. [MIG] Dms tag

    Gelu authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    2f33a8b View commit details
    Browse the repository at this point in the history
  12. [MIG] dms: File

    Antoni Romera authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    0c0641f View commit details
    Browse the repository at this point in the history
  13. [MIG][13.0] dms: Finish migration

    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    b479c2f View commit details
    Browse the repository at this point in the history
  14. [IMP] Minor mig fixes

    Gelu authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    d6ac81d View commit details
    Browse the repository at this point in the history
  15. [MIG] dms: fix tests

    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    1e832e2 View commit details
    Browse the repository at this point in the history
  16. [IMP] Add security groups

    Gelu authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    b3991dd View commit details
    Browse the repository at this point in the history
  17. [ADD] dms: add funcionality of muk_dms_file

    Antoni Romera authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    02bba1e View commit details
    Browse the repository at this point in the history
  18. [MIG] dms: File functionality

    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    bb07837 View commit details
    Browse the repository at this point in the history
  19. [IMP] dms: Allow to drag and drop

    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    9d7fddd View commit details
    Browse the repository at this point in the history
  20. [FIX] Various fixes

    Gelu authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    7c10184 View commit details
    Browse the repository at this point in the history
  21. [IMP] dms: Add mail

    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    c23657c View commit details
    Browse the repository at this point in the history
  22. [FIX] dms: remove unused code and fixing: webpanel, migration, thumbn…

    …ails, preview
    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    0b4088c View commit details
    Browse the repository at this point in the history
  23. [IMP] dms: add migration script for muk_dms

    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    4176f1e View commit details
    Browse the repository at this point in the history
  24. [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.
    LoisRForgeFlow authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    add1d27 View commit details
    Browse the repository at this point in the history
  25. [FIX] dms: Download file with its proper name

    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    b16c71e View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    1f01719 View commit details
    Browse the repository at this point in the history
  27. [FIX] dms: Fix preview widget

    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    30b9df6 View commit details
    Browse the repository at this point in the history
  28. [FIX] dms: fix wrong test

    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 committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    f7c64f5 View commit details
    Browse the repository at this point in the history
  29. [IMP] dms: Portal

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    95e8d96 View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    1d6ed9c View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    5f6cfc7 View commit details
    Browse the repository at this point in the history
  32. [ADD] DMS integration with attachment

    [IMP] dms: Attachment integration
    luismalta authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    9bae750 View commit details
    Browse the repository at this point in the history
  33. [IMP] dms: Attachment integration

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    88ac0b4 View commit details
    Browse the repository at this point in the history
  34. Added translation using Weblate (Hebrew)

    ygol authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    b51dc78 View commit details
    Browse the repository at this point in the history
  35. 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/
    ygol authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    fb98992 View commit details
    Browse the repository at this point in the history
  36. Added translation using Weblate (Dutch)

    bosd authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    99a2d0b View commit details
    Browse the repository at this point in the history
  37. [FIX] dms: Remove request website user try

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    4dde867 View commit details
    Browse the repository at this point in the history
  38. [FIX] dms: Fix error when web_drop_target addon used to create new fi…

    …le + remove content field in tree
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    e2cfe68 View commit details
    Browse the repository at this point in the history
  39. [FIX] dms: Adapt to 13.0

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    8ff0748 View commit details
    Browse the repository at this point in the history
  40. Added translation using Weblate (Italian)

    jackjack82 authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    d8697d1 View commit details
    Browse the repository at this point in the history
  41. [IMP] dms: Integrate with mail_preview_base

    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    1c5a4dc View commit details
    Browse the repository at this point in the history
  42. [FIX] dms: Kanban view

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    d6785a0 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    9148608 View commit details
    Browse the repository at this point in the history
  44. [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]>
    2 people authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    ef99706 View commit details
    Browse the repository at this point in the history
  45. [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)
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    9ccc9a3 View commit details
    Browse the repository at this point in the history
  46. [FIX] dms: Prevent error when archive records and later process try t…

    …o create again + Add test to check it
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    624310f View commit details
    Browse the repository at this point in the history
  47. [FIX] dms: Add domain operator

    Fixes issue OCA#69
    Shide authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    aadb96a View commit details
    Browse the repository at this point in the history
  48. [12.0] [FIX] dms: Check default_directory_id context key

    When 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
    Shide authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    ebb9cc2 View commit details
    Browse the repository at this point in the history
  49. [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
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    c980a6b View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    52376a5 View commit details
    Browse the repository at this point in the history
  51. [IMP] dms: black, isort, prettier

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    39de18e View commit details
    Browse the repository at this point in the history
  52. [MIG] dms: Migration to 14.0

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    f5fa5c9 View commit details
    Browse the repository at this point in the history
  53. [FIX] dms: Remove action column in portal (only used in files) and co…

    …nvert file name to link (download)
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    ee2b37e View commit details
    Browse the repository at this point in the history
  54. [FIX] dms: Fix error in portal with access_token

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    2e76ba0 View commit details
    Browse the repository at this point in the history
  55. [FIX] dms: Improve tests to prevent error if installed other addons a…

    …fter dms install and new addons auto-create partners
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    a1b6ce8 View commit details
    Browse the repository at this point in the history
  56. [FIX] dms: Apply _apply_access_groups correctly (specially according …

    …to files) to get only records to get only allowed records according to directories groups.
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    5255e04 View commit details
    Browse the repository at this point in the history
  57. [FIX] improve some queries

    ... so to speak.
    
    @Tecnativa TT29847
    Jairo Llopis authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    9bf824c View commit details
    Browse the repository at this point in the history
  58. [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 committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    60f1a7b View commit details
    Browse the repository at this point in the history
  59. [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 committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    c76a73b View commit details
    Browse the repository at this point in the history
  60. [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 committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    bb2ef6f View commit details
    Browse the repository at this point in the history
  61. Configuration menu
    Copy the full SHA
    2ceb4ac View commit details
    Browse the repository at this point in the history
  62. [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]>
    2 people authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    5032d12 View commit details
    Browse the repository at this point in the history
  63. [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 committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    08b2774 View commit details
    Browse the repository at this point in the history
  64. [FIX] dms: Prevent error (apply sudo()) when recursive directories re…

    …ad from files creation in _compute_path() if some directory not allowed from user
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    d9a9e80 View commit details
    Browse the repository at this point in the history
  65. [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.
    joao-p-marques authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    b35bc6d View commit details
    Browse the repository at this point in the history
  66. [REF] dms: Adapt to 14.0

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    7652d20 View commit details
    Browse the repository at this point in the history
  67. [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 committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    55455f4 View commit details
    Browse the repository at this point in the history
  68. Explicit Access Group instructions

    majenkotech authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    5f22dfd View commit details
    Browse the repository at this point in the history
  69. [FIX] dms: Add python-magic library to readme

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    64895c8 View commit details
    Browse the repository at this point in the history
  70. [FIX] dms: Drag & Drop

    Tardo authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    ca66eea View commit details
    Browse the repository at this point in the history
  71. [IMP] dms: Set the drop target to the kanban view, excluding the sear…

    …ch panel
    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    2914173 View commit details
    Browse the repository at this point in the history
  72. [FIX] dms: Pending attribute mimetype

    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    ca5d546 View commit details
    Browse the repository at this point in the history
  73. [FIX] dms: Show the total of files (of all subdirectories) in the for…

    …m view of the directories.
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    0bfaeb0 View commit details
    Browse the repository at this point in the history
  74. [FIX] dms: Define the file extension correctly (even if there is no e…

    …xtension in the file name).
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    1531dc6 View commit details
    Browse the repository at this point in the history
  75. [FIX] dms: Prevent CacheMis error from count_total_files in some NewI…

    …d use cases.
    
    TT34095
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    fbb645c View commit details
    Browse the repository at this point in the history
  76. [FIX] dms: Change size field type from integer to float to prevent 21…

    …47483647 limit from postgresql.
    
    TT33935
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    d6747c7 View commit details
    Browse the repository at this point in the history
  77. [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
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    5e0e327 View commit details
    Browse the repository at this point in the history
  78. [FIX] dms: The internal user group is added as an inheritance to the …

    …new group.
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    5648be3 View commit details
    Browse the repository at this point in the history
  79. [MIG] dms: Migration to 15.0

    JasminSForgeFlow authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    ba882fb View commit details
    Browse the repository at this point in the history
  80. [MIG] dms: Finish migration

    etobella authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    95ea808 View commit details
    Browse the repository at this point in the history
  81. [UPD] Update dms.pot

    oca-ci authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    f368228 View commit details
    Browse the repository at this point in the history
  82. [UPD] README.rst

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    4f7f3fa View commit details
    Browse the repository at this point in the history
  83. [FIX] dms: Add Archived ribbon in form views and remove active field …

    …from tree views.
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    675883c View commit details
    Browse the repository at this point in the history
  84. [UPD] Update dms.pot

    oca-ci authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    285d4a7 View commit details
    Browse the repository at this point in the history
  85. dms 15.0.1.1.0

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    d8b66ed View commit details
    Browse the repository at this point in the history
  86. Update translation files

    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/
    oca-transbot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    36fe3a6 View commit details
    Browse the repository at this point in the history
  87. [FIX] dms: do_warn method no longer available in v15

    gdrius authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    96df043 View commit details
    Browse the repository at this point in the history
  88. 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/
    marylla authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    e05712b View commit details
    Browse the repository at this point in the history
  89. dms 15.0.1.1.1

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    8575c04 View commit details
    Browse the repository at this point in the history
  90. [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.
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    4b156cb View commit details
    Browse the repository at this point in the history
  91. dms 15.0.1.2.0

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    ff01c8f View commit details
    Browse the repository at this point in the history
  92. Configuration menu
    Copy the full SHA
    882718f View commit details
    Browse the repository at this point in the history
  93. [IMP] dms: Refactor tests.

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    df2602d View commit details
    Browse the repository at this point in the history
  94. dms 15.0.1.2.1

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    09340ac View commit details
    Browse the repository at this point in the history
  95. dms 15.0.1.3.0

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    5657ba0 View commit details
    Browse the repository at this point in the history
  96. [IMP] dms: Changes in file tree view: - Set multi_edit - Add tag_ids …

    …field - Remove path_names field - Remove FieldPathNames (related to path_names)
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    73a4ec7 View commit details
    Browse the repository at this point in the history
  97. Configuration menu
    Copy the full SHA
    3ce8044 View commit details
    Browse the repository at this point in the history
  98. [IMP] dms: automatic image thumbnails

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    2f532e0 View commit details
    Browse the repository at this point in the history
  99. [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
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    7718df3 View commit details
    Browse the repository at this point in the history
  100. Configuration menu
    Copy the full SHA
    07043f0 View commit details
    Browse the repository at this point in the history
  101. [UPD] Update dms.pot

    oca-ci authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    56bd017 View commit details
    Browse the repository at this point in the history
  102. dms 15.0.1.4.0

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    ae33077 View commit details
    Browse the repository at this point in the history
  103. Update translation files

    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/
    oca-transbot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    89920a5 View commit details
    Browse the repository at this point in the history
  104. [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.
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    6690f64 View commit details
    Browse the repository at this point in the history
  105. Configuration menu
    Copy the full SHA
    c840756 View commit details
    Browse the repository at this point in the history
  106. dms 15.0.1.5.0

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    bc0ebbe View commit details
    Browse the repository at this point in the history
  107. [FIX] dms: skip attachment creation when storage type is different fr…

    …om attachment
    marcelsavegnago authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    126c06b View commit details
    Browse the repository at this point in the history
  108. dms 15.0.1.5.1

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    d75e24e View commit details
    Browse the repository at this point in the history
  109. [FIX] dms: Remove migrations folder from 14.0

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    2836d3a View commit details
    Browse the repository at this point in the history
  110. [FIX] dms: Remove parent_id defined if you do not have access to it (…

    …search panel directory).
    
    TT41585
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    dd73703 View commit details
    Browse the repository at this point in the history
  111. [FIX] dms: Limit breadcrumb from portal to directories you have acces…

    …s to.
    
    TT41585
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    9909389 View commit details
    Browse the repository at this point in the history
  112. [FIX] dms: Get the "parent" directories (those of the top level to wh…

    …ich you have access) in the portal view.
    
    TT41585
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    3d284cf View commit details
    Browse the repository at this point in the history
  113. dms 15.0.1.5.2

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    e579a88 View commit details
    Browse the repository at this point in the history
  114. [FIX] dms: Use the correct domain with inherit_access_from_parent_rec…

    …ord field
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    99825c1 View commit details
    Browse the repository at this point in the history
  115. dms 15.0.1.6.0

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    90481af View commit details
    Browse the repository at this point in the history
  116. [IMP] dms: Add action_dms_file_wizard_selector action.

    TT41512
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    0b7a584 View commit details
    Browse the repository at this point in the history
  117. [UPD] Update dms.pot

    oca-ci authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    dd20284 View commit details
    Browse the repository at this point in the history
  118. [UPD] README.rst

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    65e7824 View commit details
    Browse the repository at this point in the history
  119. dms 15.0.1.7.0

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    6f55f0a View commit details
    Browse the repository at this point in the history
  120. Update translation files

    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/
    weblate authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    253a354 View commit details
    Browse the repository at this point in the history
  121. [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
    aleuffre authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    f4ff79b View commit details
    Browse the repository at this point in the history
  122. dms 15.0.1.7.1

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    3d02043 View commit details
    Browse the repository at this point in the history
  123. [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.
    aleuffre authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    172ffb1 View commit details
    Browse the repository at this point in the history
  124. dms 15.0.1.8.0

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    21f0518 View commit details
    Browse the repository at this point in the history
  125. [IMP] dms: Increase the speed of tests

    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    c7f22af View commit details
    Browse the repository at this point in the history
  126. dms 15.0.1.8.1

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    7110a22 View commit details
    Browse the repository at this point in the history
  127. [FIX] dms: Explicitly exclude the pdf type in the image_1920 field of…

    … the files.
    
    TT43563
    victoralmau authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    198758f View commit details
    Browse the repository at this point in the history
  128. dms 15.0.1.8.2

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    a561d5a View commit details
    Browse the repository at this point in the history
  129. 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/
    Ivorra78 authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    a9df14d View commit details
    Browse the repository at this point in the history
  130. 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/
    Ivorra78 authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    74c10c7 View commit details
    Browse the repository at this point in the history
  131. [UPD] README.rst

    OCA-git-bot authored and KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    dc11e34 View commit details
    Browse the repository at this point in the history
  132. [IMP] dms: pre-commit stuff

    KB committed Sep 18, 2023
    Configuration menu
    Copy the full SHA
    87340fd View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. [MIG] dms: Migration from 15.0 to 16.0

    KB committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    05f7c67 View commit details
    Browse the repository at this point in the history