vertical-medical
vertical-medical copied to clipboard
[9.0] Module renames added to OpenUpgrade
Many modules were renamed between 8 and 9. The changes are all documented in the ReadMes for the most part, but we need to add to OpenUpgrade - https://github.com/OCA/OpenUpgrade/blob/9.0/openerp/addons/openupgrade_records/lib/apriori.py
One thing I'm not sure about is what to do when a module was split into separate modules. This has happened quite a bit.
If a module has been split, the strategy can be to rename the old one to one of them, and include a migration script in it that mark the state of the other module as "to install". Example: https://github.com/OCA/OpenUpgrade/blob/338b2be4af22334c3329367274cccb2dd62dee78/addons/product/migrations/9.0.1.2/pre-migration.py#L90
Brilliant, thanks for the insight @pedrobaeza. I have admittedly not used OpenUpgrade yet, so I'm operating on purely hypotheticals. Our internal site is going to need upgrading soon though, so that will likely be a repo you will begin to see me in soon 😸
There hasn't been any activity on this issue in the past 6 months, so it has been marked as stale and it will be closed automatically if no further activity occurs in the next 30 days. If you want this issue to never become stale, please ask a PSC member to apply the "no stale" label.