Commit Graph

26 Commits (d47e5ee327c23f708da8387df3df4d76c81aafd0)

Author SHA1 Message Date
Sylvain LE GAL 939e60697d [FIX] upgrade_analysis: avoid call privatized 'mapped' function.
FIX: #3215.
Rational : 'mapped' function has been privatized in a1adf8355c.
We so replace 'mapped' by 'search_read'
2025-03-28 13:57:43 +01:00
Miquel Raïch 8ca4deefc7 [FIX] upgrade_analysis: fill upgrade_path
For some reason, _compute_upgrade_path is not called by default if store=True.
2025-03-05 10:57:07 +01:00
Miquel Raïch 62f179218f [FIX] upgrade_analysis: exclude OU modules from coverage file 2024-12-31 18:24:57 +01:00
Miquel Raïch c3ba510f3b [FIX] upgrade_analysis: new modules cannot be merged/renamed in same version
Issue: v14 has OCA's 10n_eu_oss (https://github.com/OCA/account-fiscal-rule/tree/14.0/l10n_eu_oss), which is renamed in v15 to l10n_eu_oss_oca (https://github.com/OCA/account-fiscal-rule/tree/15.0/l10n_eu_oss_oca) due to new module Odoo's 10n_eu_oss (https://github.com/odoo/odoo/tree/15.0/addons/l10n_eu_oss). Thus, it doesn't makes sense to have in the coverage file the row `|[new] 10n_eu_oss | |Renamed to l10n_eu_oss_oca|`.
2024-12-31 18:24:57 +01:00
Stefan Rijnhart 942492355c [REF] upgrade_analysis: increase module description column in generated RST file
to allow for very long module name
2024-05-23 10:06:50 +02:00
Stefan Rijnhart 9289acc48d [REF] upgrade_analysis: allow to set upgrade_path manually
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.
2024-05-23 10:06:50 +02:00
Stefan Rijnhart b2dfdeb972 [IMP] upgrade_analysis: pre-commit auto fixes 2024-05-23 10:06:50 +02:00
Miquel Raïch f07177c64b [IMP] upgrade_analysis: log sql_constraints in analysis 2024-05-23 10:03:50 +02:00
Roy Le c69be433ca [ADD] upgrade_analysis: generate noupdate_changes for template tag 2024-05-23 10:03:50 +02:00
Sylvain LE GAL c19ed725f0 [REF] in coverage module file, split column into 2. a column that should be filled by openupgrader, and a column that is automatically filled when importing apriori and making analysis 2024-05-23 10:03:49 +02:00
Sylvain LE GAL 19c9feca33 [IMP] upgrade_analysis : prefill status with trivial information 2024-05-23 10:03:49 +02:00
Sylvain LE GAL 19938fc980 [IMP] upgrade_coverage : generate coverage module file 2024-05-23 10:03:49 +02:00
Sylvain LE GAL 1375211149 [MIG] upgrade_analysis from 14.0 to 15.0 2024-05-23 10:03:49 +02:00
Payam Yasaie ceb26b0db9 [FIX] Other modules upgrade write file full path
Parentheses placement was wrong in other modules full_path that lead to create migrations on root of modules
2024-05-23 10:03:49 +02:00
oca-git-bot 2d2a2af51d [IMP] update dotfiles [ci skip] 2024-05-23 10:03:49 +02:00
mreficent 2b1454144a [FIX] upgrade_analysis: revert to 'files' approach instead of 'paths' 2024-05-23 10:03:49 +02:00
mreficent 0e7460bdd8 [FIX] upgrade_analysis: merged modules affecting noupdate files
Due to https://github.com/OCA/server-tools/pull/2057, noupdate data now considers merged modules. But the fix was incomplete, as the diff files between merged modules and local_module were rewritting already generated diff between original remote_module and local_module.
2024-05-23 10:03:49 +02:00
mreficent 8f3d6def35 [FIX] upgrade_analysis: fix methods related to noupdate data 2024-05-23 10:03:49 +02:00
mreficent 58204c1c4c [IMP] upgrade_analysis: make us of odoorpc/openupgrade master
Includes minor fixes.
2024-05-23 10:03:49 +02:00
Stefan Rijnhart 3df408aadb [ADD] Generate noupdate_changes 2024-05-23 10:03:49 +02:00
Stefan Rijnhart 285f75ac9d [RFR] upgrade_path not user writable 2024-05-23 10:03:49 +02:00
Sylvain LE GAL 4f53a65574 [IMP] import apriori file of openupgrade_scripts, if available
[IMP] guess upgrade_path, if config is not set, and openupgrade_scripts is available
2024-05-23 10:03:49 +02:00
Stefan Rijnhart 827d506b16 [FIX] ImportError; 2024-05-23 10:03:49 +02:00
Stefan Rijnhart aed60746e3 [IMP] Create records with timestamp; [RFR] No /migration/ level when using upgrade-path 2024-05-23 10:03:49 +02:00
Stefan Rijnhart c92f7b25ae [RFR] Improve patchwork 2024-05-23 10:03:49 +02:00
Sylvain LE GAL 6ececf6678 [REF] rename framework files, adapt to new module names, remove print (replaced by logger), apply pre-commit rules 2024-05-23 10:03:49 +02:00