Repository
OCA/module-composition-analysis · module folder · Try on Runboat
Module version
1.1.0
Category
Tools
Folder size
0.13 MB
License
AGPL-3
Application
No
Auto-installable
No
Website
https://github.com/OCA/module-composition-analysis
Last tracking update
2026-08-19 17:25:11
Authors
Camptocamp, Odoo Community Association (OCA)
Maintainers
Camptocamp, Odoo Community Association (OCA)
Committers
Sébastien Alix, Weblate, OCA-git-bot, oca-ci
Odoo dependencies
OCA/connector:
OCA/module-composition-analysis:
OCA/queue:
OCA/server-tools:
odoo/odoo:
- web
- bus
Python dependencies
gitpython, odoo-addons-parser, pyyaml, requests, cachetools, oca-port
System dependencies
None
Required by
None
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.

Code Analysis

Views touched (10)
XML IDNameModelTypeStatus
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)

New fields (0)

No new fields.

Public methods (0)

No public methods.

New fields (2)
  • odoo_project_ids Many2many
    related='module_branch_id.odoo_project_ids'
  • odoo_project_module_migration_ids One2many → odoo.project.module.migration
    comodel_name='odoo.project.module.migration' inverse_name='module_migration_id' string='Project Migrations'
Public methods (1)
  • open_project_migrations(self)

New fields (1)
  • project_migration_ids Many2many → odoo.project.module.migration
    comodel_name='odoo.project.module.migration' compute='_compute_project_migration_ids' string='Project Migrations'
Public methods (4)
  • create(self, vals_list)
    @api.model_create_multi
  • open_project_migrations(self)
  • unlink(self)
  • write(self, vals)
    @api.model

New fields (2)
  • migrations_count Integer
    compute='_compute_migrations_count'
  • module_migration_ids One2many → odoo.project.module.migration
    comodel_name='odoo.project.module.migration' inverse_name='odoo_project_id' string='Migration Data'
Public methods (3)
  • open_export_migration_report(self)
  • open_generate_migration_data(self)
  • open_migration_data(self)

New fields (4)
  • available_migration_path_ids One2many → odoo.migration.path
    comodel_name='odoo.migration.path' compute='_compute_available_migration_path_ids' string='Available Migration Paths'
  • migration_path_id Many2one → odoo.migration.path
    comodel_name='odoo.migration.path' required=True string='Migration Path'
  • odoo_project_id Many2one → odoo.project
    comodel_name='odoo.project' required=True string='Project'
  • odoo_version_id Many2one
    related='odoo_project_id.odoo_version_id'
Public methods (1)
  • action_export_report(self)
    Export a migration report in CSV format.

New fields (3)
  • migration_path_id Many2one → odoo.migration.path
    comodel_name='odoo.migration.path' required=True string='Migration Path'
  • odoo_project_id Many2one → odoo.project
    comodel_name='odoo.project' required=True string='Project'
  • odoo_version_id Many2one
    related='odoo_project_id.odoo_version_id'
Public methods (1)
  • action_generate_data(self)
    Generate migration data for the given Odoo project.

New fields (0)

No new fields.

Public methods (1)
  • open_next_module_branches(self)

New fields (13)
  • migration_path_id Many2one → odoo.migration.path
    comodel_name='odoo.migration.path' index=True ondelete='restrict' readonly=True required=True string='Migration Path'
  • migration_script_ids One2many → odoo.module.branch.version
    comodel_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_id Many2one
    index=True related='source_module_branch_id.module_id' store=True
  • module_migration_id Many2one → odoo.module.branch.migration
    comodel_name='odoo.module.branch.migration' compute='_compute_module_migration_id' index=True ondelete='restrict' store=True string='Migration'
  • odoo_project_id Many2one → odoo.project
    comodel_name='odoo.project' index=True ondelete='cascade' readonly=True required=True string='Project'
  • pr_url Char
    related='module_migration_id.pr_url'
  • project_module_id Many2one → odoo.project.module
    comodel_name='odoo.project.module' compute='_compute_project_module_id' help='Version of the module installed in the project.' index=True ondelete='cascade' store=True string='Installed Module'
  • renamed_to_module_id Many2one → odoo.module
    comodel_name='odoo.module' compute='_compute_renamed_to_module_id' index=True store=True string='Renamed to'
  • replaced_by_module_id Many2one → odoo.module
    comodel_name='odoo.module' compute='_compute_replaced_by_module_id' index=True store=True string='Replaced by'
  • results_text Text
    related='module_migration_id.results_text'
  • source_module_branch_id Many2one → odoo.module.branch
    comodel_name='odoo.module.branch' index=True ondelete='restrict' readonly=True required=True string='Source'
  • state Selection
    compute='_compute_state' index=True selection=[('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=True string='Migration status'
  • target_module_branch_id Many2one → odoo.module.branch
    comodel_name='odoo.module.branch' compute='_compute_target_module_branch_id' index=True ondelete='restrict' store=True string='Target'
Public methods (1)
  • force_update(self)
    Ensure the project migration data are updated.

Loading…

Status
Open migration PR — not merged yet for this version
CI status
checks failing
Open since
22 days ago
Last activity
22 days ago
Repository
OCA/module-composition-analysis
Pull request
[19.0][MIG] odoo_project_migration (#152)