Odoo Project Migration Data
odoo_project_migration · OCA/module-composition-analysis
-
Security25/25No findings
-
Activity25/25Last human commit 1 month ago
-
Required by5/250 modules depend on it
-
Maturity12/25In 2 Odoo series since 16.0
Heuristic over the facts below, not an audit · How it's computed
Migration considerations
OdooProjectModuleMigration— Migrating to 19.0: `_sql_constraints` is ignored and its constraints are silently not created: declare `models.Constraint` attributes instead. migration-sql-constraints · source
Migration review checklist, not a compatibility verdict. "Migrating to X.0" applies once you upgrade to that version; "Since X.0" means this version already ignores or rejects that code. Methodology
Description
This module integrates the migration data collected by odoo_repository_migration module in your Odoo projects.
It allows to generate migration reports, giving some hints about the effort to provide to migrate the project to a newer Odoo version.
Dependencies
Code analysis
Extracted from the source by best-effort static analysis (no code is executed); details may be incomplete.
Views touched 10
| XML ID | Name | Model | Type | Status |
|---|---|---|---|---|
odoo_module_branch_migration_view_form |
odoo.module.branch.migration.form.inherit | odoo.module.branch.migration | form | Inherits odoo_repository_migration.odoo_module_branch_migration_view_form |
odoo_module_branch_migration_view_search |
odoo.module.branch.migration.search.inherit | odoo.module.branch.migration | search | Inherits odoo_repository_migration.odoo_module_branch_migration_view_search |
odoo_module_branch_migration_view_tree |
odoo.module.branch.migration.list.inherit | odoo.module.branch.migration | list | Inherits odoo_repository_migration.odoo_module_branch_migration_view_tree |
odoo_module_branch_timeline_view_form |
odoo.module.branch.timeline.form.inherit | odoo.module.branch.timeline | form | Inherits odoo_repository_migration.odoo_module_branch_timeline_view_form |
odoo_project_export_migration_report_view_form |
odoo.project.export.migration.report.form | odoo.project.export.migration.report | form | New |
odoo_project_generate_migration_data_view_form |
odoo.project.generate.migration.data.form | odoo.project.generate.migration.data | form | New |
odoo_project_module_migration_view_form |
odoo.project.module.migration.form | odoo.project.module.migration | form | New |
odoo_project_module_migration_view_search |
odoo.project.module.migration.search | odoo.project.module.migration | search | Inherits odoo_repository.odoo_module_branch_view_search |
odoo_project_module_migration_view_tree |
odoo.project.module.migration.list | odoo.project.module.migration | list | New |
odoo_project_view_form |
odoo.project.form.inherit | odoo.project | form | Inherits odoo_project.odoo_project_view_form |
HTTP endpoints 0
No HTTP endpoints found for this module.
Models touched 8
No new fields.
Public methods (0)No public methods.
-
odoo_project_idsMany2manyrelated='module_branch_id.odoo_project_ids' -
odoo_project_module_migration_idsOne2many → odoo.project.module.migrationcomodel_name='odoo.project.module.migration'inverse_name='module_migration_id'string='Project Migrations'
-
open_project_migrations(self)
-
project_migration_idsMany2many → odoo.project.module.migrationcomodel_name='odoo.project.module.migration'compute='_compute_project_migration_ids'string='Project Migrations'
-
create(self, vals_list)@api.model_create_multi -
open_project_migrations(self) -
unlink(self) -
write(self, vals)@api.model
-
migrations_countIntegercompute='_compute_migrations_count' -
module_migration_idsOne2many → odoo.project.module.migrationcomodel_name='odoo.project.module.migration'inverse_name='odoo_project_id'string='Migration Data'
-
open_export_migration_report(self) -
open_generate_migration_data(self) -
open_migration_data(self)
-
available_migration_path_idsOne2many → odoo.migration.pathcomodel_name='odoo.migration.path'compute='_compute_available_migration_path_ids'string='Available Migration Paths' -
migration_path_idMany2one → odoo.migration.pathcomodel_name='odoo.migration.path'required=Truestring='Migration Path' -
odoo_project_idMany2one → odoo.projectcomodel_name='odoo.project'required=Truestring='Project' -
odoo_version_idMany2onerelated='odoo_project_id.odoo_version_id'
-
action_export_report(self)Export a migration report in CSV format.
-
migration_path_idMany2one → odoo.migration.pathcomodel_name='odoo.migration.path'required=Truestring='Migration Path' -
odoo_project_idMany2one → odoo.projectcomodel_name='odoo.project'required=Truestring='Project' -
odoo_version_idMany2onerelated='odoo_project_id.odoo_version_id'
-
action_generate_data(self)Generate migration data for the given Odoo project.
No new fields.
Public methods (1)-
open_next_module_branches(self)
-
migration_path_idMany2one → odoo.migration.pathcomodel_name='odoo.migration.path'index=Trueondelete='restrict'readonly=Truerequired=Truestring='Migration Path' -
migration_script_idsOne2many → odoo.module.branch.versioncomodel_name='odoo.module.branch.version'compute='_compute_migration_script_ids'help='Migration scripts available between the installed version and the last version available on the target branch.\nOnes that rework the database schema or data could be mandatory.'string='Migration Scripts' -
module_idMany2oneindex=Truerelated='source_module_branch_id.module_id'store=True -
module_migration_idMany2one → odoo.module.branch.migrationcomodel_name='odoo.module.branch.migration'compute='_compute_module_migration_id'index=Trueondelete='restrict'store=Truestring='Migration' -
odoo_project_idMany2one → odoo.projectcomodel_name='odoo.project'index=Trueondelete='cascade'readonly=Truerequired=Truestring='Project' -
pr_urlCharrelated='module_migration_id.pr_url' -
project_module_idMany2one → odoo.project.modulecomodel_name='odoo.project.module'compute='_compute_project_module_id'help='Version of the module installed in the project.'index=Trueondelete='cascade'store=Truestring='Installed Module' -
renamed_to_module_idMany2one → odoo.modulecomodel_name='odoo.module'compute='_compute_renamed_to_module_id'index=Truestore=Truestring='Renamed to' -
replaced_by_module_idMany2one → odoo.modulecomodel_name='odoo.module'compute='_compute_replaced_by_module_id'index=Truestore=Truestring='Replaced by' -
results_textTextrelated='module_migration_id.results_text' -
source_module_branch_idMany2one → odoo.module.branchcomodel_name='odoo.module.branch'index=Trueondelete='restrict'readonly=Truerequired=Truestring='Source' -
stateSelectioncompute='_compute_state'index=Trueselection=[('fully_ported', 'Fully Ported'), ('migrate', 'To migrate'), ('port_commits', 'Ported (missing commits?)'), ('review_migration', 'To review'), ('replaced', 'Replaced'), ('moved_to_standard', 'Moved to standard?'), ('moved_to_oca', 'Moved to OCA'), ('moved_to_generic', 'Moved to generic repo'), ('available', 'Available'), ('removed', 'Removed')]store=Truestring='Migration status' -
target_module_branch_idMany2one → odoo.module.branchcomodel_name='odoo.module.branch'compute='_compute_target_module_branch_id'index=Trueondelete='restrict'store=Truestring='Target'
-
force_update(self)Ensure the project migration data are updated.
Loading…
Loading…