OCA/OpenUpgrade — reverse-engineered prompt
Reverse engineered prompt
Build me an open source Python tool for Odoo upgrades, like a community migration helper for moving an existing Odoo database from one major version to the next.
I want it to have one module that plugs into Odoo during startup so the upgrade process can run automatically, and another module that holds the actual migration analysis and scripts for standard Odoo apps. The goal is that an admin can point it at an Odoo database, run the upgraded Odoo server with this helper enabled, and get the needed database changes applied with clear logs about what happened.
Please keep it practical for real Odoo users. Include places for Python and SQL migration steps, make the scripts organized by Odoo module, and add basic checks so failures are easy to understand. Add setup files, requirements, linting config, and simple documentation that explains how to enable it and where to add new migration scripts.
Look up current Odoo migration docs online if you need to.
Want more depth? Deep Reverse