Skip to content

Use of component_event to recompute the status of (project) migration entries #103

@sebalix

Description

@sebalix

Currently, the migration status of some modules are not well refreshed even if a module is available on the target Odoo version (seems to appear only with modules that moved from one repo to another, bug to check/fix). That was the new repository that was not configured to collect migration data 🤦 fixed

Also, such migration status are computed based on the right api.depends + direct calls of _compute_state here and there.

It would be nicer to leverage on_create and on_write events when a new module is udpated/made available in a repository, decoupling the dependencies between all of this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions