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

Syncing from upstream OCA/server-tools (18.0) #1649

Merged
merged 79 commits into from
Nov 6, 2024
Merged

Conversation

bt-admin
Copy link

@bt-admin bt-admin commented Nov 6, 2024

bt_gitbot

legalsylvain and others added 30 commits November 4, 2024 22:06
… 13.0) to OCA/server-tools

Based on commit 746b7acbd90d62f9ffe6ee17472a1a3533e36597 (Fri Nov 6 17:18:47 2020 +0100)

Co-authored-by: Stefan Rijnhart <[email protected]>
… make the module installable, add readme folders
…y to select some modules, and improve filters, regarding test module with startswith and endswith pattern
… (replaced by logger), apply pre-commit rules
[IMP] guess upgrade_path, if config is not set, and openupgrade_scripts is available
Given that the records need to be managed in the modules that own them rather in the modules that override them, and that we also have the noupdate data xml for every module, then we left out the lines that where indicating the override of records.
legalsylvain and others added 27 commits November 4, 2024 22:06
Add new item in the roadmap section for the next migration of the module in V16
…ted fields

Odoo 14 introduced the widescale usage of computed fields with readonly=False.
In that case, the compute method functions as a default that can also be used
to compute a value some time *after* the initial creation of the record.

In the OpenUpgrade analysis files, these fields would be misrepresented as
computed fields rather than fields with a default function. This change fixes
that.
Check "module" is in context when patching init_models
The colspan property of some UI elements were not correctly adjusted to
the v16 sytem.

This commits fixes it.
Odoo has deprecated such modules with a pre-hook raising an error, so
they are not installable anymore.

This way, we avoid them to be included in the Install Modules Wizard.
This allows to circumvent Odoo's complaint of

   'openupgrade_scripts/scripts/' is not a valid upgrade directory

when there are no analysis files present yet.
…ed RST file

to allow for very long module name
as odoo core was changed in a way that optimized away our logging
Signed-off-by pedrobaeza
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: server-tools-18.0/server-tools-18.0-upgrade_analysis
Translate-URL: https://translation.odoo-community.org/projects/server-tools-18-0/server-tools-18-0-upgrade_analysis/
@bt-admin bt-admin added the 18.0 label Nov 6, 2024
@bt-admin bt-admin merged commit ae8b839 into brain-tec:18.0 Nov 6, 2024
4 checks passed
Copy link

codecov bot commented Nov 6, 2024

Codecov Report

Attention: Patch coverage is 31.57895% with 780 lines in your changes missing coverage. Please review.

Project coverage is 60.05%. Comparing base (2f7c103) to head (a49b2eb).
Report is 85 commits behind head on 18.0.

Files with missing lines Patch % Lines
upgrade_analysis/compare.py 8.04% 297 Missing ⚠️
upgrade_analysis/models/upgrade_analysis.py 14.73% 272 Missing ⚠️
upgrade_analysis/upgrade_log.py 19.31% 67 Missing and 4 partials ⚠️
upgrade_analysis/models/upgrade_record.py 42.39% 53 Missing ⚠️
...grade_analysis/models/upgrade_comparison_config.py 48.93% 24 Missing ⚠️
...analysis/wizards/upgrade_generate_record_wizard.py 34.48% 19 Missing ⚠️
upgrade_analysis/wizards/upgrade_install_wizard.py 78.33% 12 Missing and 1 partial ⚠️
...grade_analysis/odoo_patch/odoo/modules/registry.py 47.82% 12 Missing ⚠️
upgrade_analysis/odoo_patch/odoo/models.py 53.33% 7 Missing ⚠️
...sis/odoo_patch/odoo/addons/base/models/ir_model.py 82.60% 2 Missing and 2 partials ⚠️
... and 3 more
Additional details and impacted files
@@             Coverage Diff             @@
##             18.0    #1649       +/-   ##
===========================================
- Coverage   87.03%   60.05%   -26.99%     
===========================================
  Files          44       74       +30     
  Lines        1203     2343     +1140     
  Branches      147      397      +250     
===========================================
+ Hits         1047     1407      +360     
- Misses        120      891      +771     
- Partials       36       45        +9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

Successfully merging this pull request may close these issues.