You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to run migration scripts at install also, migrate_module method is patched to modify the module state field.
But in the original method, when dealing with end-migration scripts, state is initialized using load_state field
Module
openupgrade_framework
Describe the bug
In order to run migration scripts at install also, migrate_module method is patched to modify the module state field.
But in the original method, when dealing with end-migration scripts, state is initialized using load_state field
https://github.com/odoo/odoo/blob/9034602a028fb22fbd139cf41a2f5c71d9d8d032/odoo/modules/migration.py#L106-L110
So we need to modify the load_state field also for end-migration to run at install
To Reproduce
Affected versions: 16.0
Steps to reproduce the behavior:
Expected behavior
The end-migration script should be run
The text was updated successfully, but these errors were encountered: