Skip to content

Issue with Odoo 19.0: tests not running for auto-installable modules #115

@ivantodorovich

Description

@ivantodorovich

Apparently in Odoo 19.0, and differently than previous versions, modules are not re-installed when running the command line with odoo -i <module-name>.

So, using this command to test an already installed module will simply silently fail to execute tests.

This is what happens with auto-installable modules.

Since we're first preparing a db with all the dependencies, the auto-installable module will get automatically installed at this step.

Later, when we actually run tests, the module is already installed.. and so Odoo will not re-install it nor execute its unit tests.


Here's a PR where this was detected:

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions