Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Removal of migration scripts on each new version

by
Acsone SA/NV, Stéphane Bidoul
- 07/05/2025 12:06:52
As a maintainer I would like to have the liberty of keeping the migration scripts if I want to, as I think it is a good service to provide to my users.

In the modules I help maintaining it is usually not a problem nor difficulty. For instance in mis_builder and queue_job It's likely that we could have all the scripts for the past 8 versions run on the latest.

So I don't quite understand why it is forbidden to keep them. If I want to take responsibility for maintaining them I should be allowed to do so.

Best regards,

-Stéphane



On Wed, May 7, 2025 at 11:42 AM Raphaël Reverdy <notifications@odoo-community.org> wrote:
Hello,

With our existing OCA tools and processes, I think it's better to remove migrations scripts from previous versions.

back/forwarding changes across different versions is already a boring and time consuming task. 
Doing the same for not testable-on-CI and hard-to-review migrations scripts ? I doubt it will be consistently done.

Running migration with openupgrade alone or Odoo EE + openupgrade for each version looks to be the safest way.

Raph

Le mer. 7 mai 2025 à 08:56, Tom Blauwendraat <notifications@odoo-community.org> a écrit :
On 5/6/25 23:27, Tom Blauwendraat wrote:



> (...) while we think we may be helping them, to me it's just an 



> assumption, which is a pretty thin argument to make a change. If it 



> does make things messier for tech-savvy people, then not doing it may 



> be the best option.

I wanted to add to this that -if- some of the Enterprise-heavy OCA 
member companies (Ad-Hoc, Camptocamp, Acsone etc) have a convincing 
argument why this is really helpful to them, I would weigh that argument 
heavier than what Openupgrade-heavy companies would say about it. After 
all, it does not break Openupgrade.


_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe



--
Raphaël Reverdy
Mobile +33 6 38 02 03 93
Fixe +33 4 82 53 84 60

_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference