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

[18.0][MIG] dms: Migration to 18.0 #385

Open
wants to merge 164 commits into
base: 18.0
Choose a base branch
from
Open

Conversation

kobros-tech
Copy link

No description provided.

Mathias Markl and others added 30 commits January 13, 2025 21:48
versions of muk_dms than 12.0.2.0.0.

Tested from 1.2.4 version.
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
OCA-git-bot and others added 21 commits January 13, 2025 21:48
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: dms-17.0/dms-17.0-dms
Translate-URL: https://translation.odoo-community.org/projects/dms-17-0/dms-17-0-dms/
Currently translated at 100.0% (354 of 354 strings)

Translation: dms-17.0/dms-17.0-dms
Translate-URL: https://translation.odoo-community.org/projects/dms-17-0/dms-17-0-dms/it/
Currently translated at 100.0% (354 of 354 strings)

Translation: dms-17.0/dms-17.0-dms
Translate-URL: https://translation.odoo-community.org/projects/dms-17-0/dms-17-0-dms/fr/
Currently translated at 100.0% (354 of 354 strings)

Translation: dms-17.0/dms-17.0-dms
Translate-URL: https://translation.odoo-community.org/projects/dms-17-0/dms-17-0-dms/fr/
Currently translated at 100.0% (354 of 354 strings)

Translation: dms-17.0/dms-17.0-dms
Translate-URL: https://translation.odoo-community.org/projects/dms-17-0/dms-17-0-dms/fr/
… error

Changes done:
- Improve _dms_operations() method to do nothing if the model is not one of
those used in dms.storage.
- Avoid access error with .browse() if we access a non-existing record (for
example, deleted by database).

TT50231
UserWarning: dms.file: inconsistent 'store' for computed fields, accessing migration
may recompute and update require_migration. Use distinct compute methods for stored
and non-stored fields
Currently translated at 33.3% (118 of 354 strings)

Translation: dms-17.0/dms-17.0-dms
Translate-URL: https://translation.odoo-community.org/projects/dms-17-0/dms-17-0-dms/fa/
Currently translated at 96.6% (342 of 354 strings)

Translation: dms-17.0/dms-17.0-dms
Translate-URL: https://translation.odoo-community.org/projects/dms-17-0/dms-17-0-dms/fa/
It was missing a placeholder.
Currently translated at 100.0% (354 of 354 strings)

Translation: dms-17.0/dms-17.0-dms
Translate-URL: https://translation.odoo-community.org/projects/dms-17-0/dms-17-0-dms/it/
Add the mk_file_kanban_view class to the custom kanban view so that it is
displayed correctly according to the styles set for that class (mk_file_kanban_view).

TT50055
@kobros-tech kobros-tech force-pushed the 18.0-mig-dms branch 2 times, most recently from 0827d1a to 3f79ddd Compare January 15, 2025 04:36
@pedrobaeza
Copy link
Member

/ocabot migration dms

@OCA-git-bot OCA-git-bot added this to the 18.0 milestone Jan 15, 2025
@OCA-git-bot OCA-git-bot mentioned this pull request Jan 15, 2025
2 tasks
@kobros-tech
Copy link
Author

@dnplkndll
@etobella
@pedrobaeza

If have found a critical bug in the module:

if you are an internal user and not a member of dms groups, if you have the url link to any file of dms you would access it.

You still can not modify, but may be accessing file can be critical.

the good this is that this bug is for files and not for directories.

Another simple bug in Portal, you can not find the breadcrump history in the top left corner, and I can fix it.

Some trivial kanban designs if someone can observe too!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.