For those tackling Odoo Enterprise upgrades, here’s a step-by-step process that I’ve found effective—along with a few pro tips to streamline the experience!
Using the Web Form:
- Clean Your Database: Remove all unwanted modules and data.
- Run Odoo Enterprise Update Scripts online: https://upgrade.odoo.com/
- Install the Updated Database: Use the database manager to install the updated database
- Merge the Filestore: The updated zip does not include the files of the old filestore. Just copy them ( i love to use the midnight commander "mc" on the ubuntu command line for this )
- Extra Step for Docker: Most Odoo docker containers run as the Odoo user, so make sure the filestore ownership is properly configured!
Pro Tip / Scripting:
- Download the update script: curl -s https://upgrade.odoo.com/upgrade
- Write a wrapper script to automate the update:
#!/bin/bash
./upgrade.py test -c MXXXXXXXXXXXXX -t 17.0 -i $1 - Run the update as described above!