Commit Graph

28 Commits (5217da79395a94cb35364e8a1cd85f1dddb9b450)

Author SHA1 Message Date
Stefan Rijnhart 3145683c07 [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.
2022-10-11 21:30:37 +02:00
Miquel Raïch edc31da81c [IMP] upgrade_analysis: log sql_constraints in analysis 2022-10-05 16:20:14 +02:00
Roy Le 2978a6132e [ADD] upgrade_analysis: generate noupdate_changes for template tag 2022-10-05 16:20:14 +02:00
Sylvain LE GAL a53fcb17de [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 2022-10-05 16:20:14 +02:00
Sylvain LE GAL 1297458211 [IMP] upgrade_analysis : prefill status with trivial information 2022-10-05 16:20:14 +02:00
Sylvain LE GAL 56903660f7 [IMP] upgrade_coverage : generate coverage module file 2022-10-05 16:20:14 +02:00
Sylvain LE GAL a3336031ed [MIG] upgrade_analysis from 14.0 to 15.0 2022-10-05 16:20:14 +02:00
Payam Yasaie e55ef6c7a9 [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
2022-10-05 16:20:14 +02:00
oca-git-bot 53a10b8a5f [IMP] update dotfiles [ci skip] 2022-10-05 16:20:14 +02:00
mreficent 8d511cee62 [FIX] upgrade_analysis: revert to 'files' approach instead of 'paths' 2022-10-05 16:20:14 +02:00
mreficent c919a2e77b [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.
2022-10-05 16:20:14 +02:00
mreficent 7de18509c6 [FIX] upgrade_analysis: fix methods related to noupdate data 2022-10-05 16:20:14 +02:00
mreficent 9ddb08c5db [IMP] upgrade_analysis: make us of odoorpc/openupgrade master
Includes minor fixes.
2022-10-05 16:20:14 +02:00
mreficent 480412abc8 [IMP] openupgrade_records: add _order comparison 2022-10-05 16:20:14 +02:00
mreficent c4e8d88849 [IMP] openupgrade_records: compare columns of many2many tables 2022-10-05 16:20:14 +02:00
mreficent 5ddc029b32 [FIX] openupgrade_records: _inherits was not being compared 2022-10-05 16:20:14 +02:00
Sylvain LE GAL 62c7c11c92 Update upgrade_analysis/models/ir_module_module.py
Co-authored-by: David Beal <david.beal@akretion.com>
2022-10-05 16:20:14 +02:00
Stefan Rijnhart 9e86865956 [ADD] Generate noupdate_changes 2022-10-05 16:20:14 +02:00
Stefan Rijnhart a1c6c0bb07 [RFR] upgrade_path not user writable 2022-10-05 16:20:14 +02:00
Sylvain LE GAL 389a348a94 [IMP] import apriori file of openupgrade_scripts, if available
[IMP] guess upgrade_path, if config is not set, and openupgrade_scripts is available
2022-10-05 16:20:14 +02:00
Sylvain LE GAL 74159600bc [IMP] various improvment from Yajo. 2022-10-05 16:20:14 +02:00
Stefan Rijnhart 3b172ff276 [FIX] ImportError; 2022-10-05 16:20:14 +02:00
Stefan Rijnhart b16c6f36e3 [IMP] Create records with timestamp; [RFR] No /migration/ level when using upgrade-path 2022-10-05 16:20:14 +02:00
Stefan Rijnhart 3a2b838f41 [RFR] Improve patchwork 2022-10-05 16:20:14 +02:00
Sylvain LE GAL b7a3528af8 [REF] rename framework files, adapt to new module names, remove print (replaced by logger), apply pre-commit rules 2022-10-05 16:20:14 +02:00
Sylvain LE GAL f76ed740e5 [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 2022-10-05 16:20:14 +02:00
Sylvain LE GAL 3a3ae2f8d8 [REF] rename files, apply OCA convention, remove obsolete 6.1 syntax, make the module installable, add readme folders 2022-10-05 16:20:14 +02:00
Sylvain LE GAL 3ada67d9e7 [REF] rename module openupgrade_records into upgrade_analysis 2022-10-05 16:20:14 +02:00