manifest-behind-migrations (E8145)#
The manifest version is lower than a migration folder.
What it does#
Compares the manifest version with the folders in the module’s
migrations directory and reports when a migration folder has a higher
version.
Why is this bad?#
Odoo only runs migration scripts up to the module’s version, so a version bump that was forgotten means the new migration never runs.
Example#
migrations/17.0.1.1.0/post-migration.py exists, but the manifest says:
{
"version": "17.0.1.0.0",
}
Use instead: "version": "17.0.1.1.0".