Skip to Content

Contributors

Re: Migration Folders during migration in OCA Modules

Op 7/15/21 om 1:21 AM schreef Graeme Gellatly:

> Client is on version 8.0.1 of mis_builder. They migrate using 

> OpenUpgrade and it skips the very important 8.0.2 migration.
I don't fully grasp your other issue, but here I always just install all 
the newest modules first (easy to do if you use gitaggregator) and run 
'odoo -u base', before starting OpenUpgrade.

by Tom Blauwendraat - 10:05 - 15 Jul 2021

Reference

  • Migration Folders during migration in OCA Modules
    Hi all,

    Increasingly I am facing an issue with both OpenUpgrade and Enterprise migrations in relation to migrations folders. We have a practice of deleting them whenever a module is migrated.

    So my question is why?

    Let me outline a few issues on one side and hope I can be enlightened of the other side.

    Client is on version 8.0.1 of mis_builder. They migrate using OpenUpgrade and it skips the very important 8.0.2 migration.

    Another client chose to use Openupgrade only for core modules for intervening versions. This is essentially the same issue as an enterprise migration of 2 versions. You get the database back without 3rd party modules migrated.

    The latest module version only contains scripts for 1 version. So you spend hours hunting through finding the scripts, forking repos etc to get the scripts you need.

    But also I ask myself if we couldn't reduce multiversion migration time if a current version ran multiple folders. But then again, Odoo enterprise migration does all modules for a version, then moves to the next version so perhaps not feasible.

    by Graeme Gellatly - 01:20 - 15 Jul 2021