Commit Graph

35 Commits (55de47bc78ab7e1168ae939c9fdc6ab036d0c53c)

Author SHA1 Message Date
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
Jean-Charles Drubay bf5b1e2f4c [FIX] smart button to open the list of analysis from a config 2024-12-31 18:24:57 +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
Stefan Rijnhart dcbbedded1 [FIX] upgrade_analysis: misleading representation of read/write computed 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.
2024-05-23 10:03: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
mreficent f83a940db8 [IMP] openupgrade_records: add _order comparison 2024-05-23 10:03:49 +02:00
mreficent f69a221add [IMP] openupgrade_records: compare columns of many2many tables 2024-05-23 10:03:49 +02:00
mreficent 44d5f6afac [FIX] openupgrade_records: _inherits was not being compared 2024-05-23 10:03:49 +02:00
Sylvain LE GAL 0ab6f67791 Update upgrade_analysis/models/ir_module_module.py
Co-authored-by: David Beal <david.beal@akretion.com>
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
Sylvain LE GAL f80a5bca6a [IMP] various improvment from Yajo. 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
Sylvain LE GAL dd66ff4788 [IMP] upgrade_analysis: improve install wizard to have the possibility to select some modules, and improve filters, regarding test module with startswith and endswith pattern 2024-05-23 10:03:49 +02:00
Sylvain LE GAL f29ff2daa7 [REF] rename files, apply OCA convention, remove obsolete 6.1 syntax, make the module installable, add readme folders 2024-05-23 10:03:49 +02:00
Sylvain LE GAL ed44832568 [REF] rename module openupgrade_records into upgrade_analysis 2024-05-23 10:03:49 +02:00