🎓 Upgrading Odoo Community with OCA’s OpenUpgrade Scripts – The Simplest Way 🎓

Empowering You with In-Depth Insights: Your Guide to Mastering Odoo Upgrades
5 de noviembre de 2024 por
Oliver Arnold

Today, we're sharing the most straightforward approach to updating Odoo Community Edition without custom modules. All modules in this guide are available through the open upgrade path from #OCA. The open upgrade projects is available up to version 16, but the Odoo Community Association needs contributions to stay current—whether that’s by submitting update scripts or reviewing pull requests on GitHub: https://github.com/OCA/OpenUpgrade

📌 Upgrade Steps:

  1. Install the Target System (e.g., V15)
  2. Prepare the System with update scripts and the framework found on the OCA GitHub page here
  3. Install OpenUpgrade Libraries: pip install git+https://github.com/OCA/openupgradelib.git@master#egg=openupgradelib
  4. Restore Your Database via the Database Manager (Note: After restoring, Odoo will mark the instance as incompatible.)
  5. Run the Upgrade Scripts: odoo -upgrade-path=<path with open upgrade scripts> --update all --stop-after-init --load=base,web,openupgrade_framework --db_host=<YOUR HOST> --db_port=5432 --db_user=<YOUR USER> --db_password=<YOUR PASSWORD> --database=<YOUR DATABASE NAME>
  6. Test Thoroughly to ensure a smooth upgrade

This post is part of our new Odoo Upgrade Series, with our next stop covering the Odoo Enterprise Update.

For more information see the Open Upgrade Wiki https://oca.github.io/OpenUpgrade/

🔔 Follow #ODOO4projects for updates, and drop your questions in the comments! We’ll address them in our next post.