vertical-medical icon indicating copy to clipboard operation
vertical-medical copied to clipboard

[9.0] Module renames added to OpenUpgrade

Open lasley opened this issue 8 years ago • 2 comments

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.

lasley avatar Jan 16 '17 23:01 lasley

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

pedrobaeza avatar Jan 17 '17 08:01 pedrobaeza

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 😸

lasley avatar Jan 17 '17 16:01 lasley

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.

github-actions[bot] avatar Nov 06 '22 12:11 github-actions[bot]