I have never used odoo, how do I upgrade from odoo 8 to odoo 9.
EDIT: I have found the answer to this question and have posted the steps along. I will develop a efficient process write it down as well as any difficulties if anyone would like that message or post me.
Backup the databases
Backup the server folder
Uninstall the odoo server
Install the new version of odoo and after stop the odoo service
Use a comparison tool to move changes from the Old addons folder to the new one. I use beyond compare for file and folder comparisons. This step probably will take more time around 30-40minutes tops to merge python and report files that were customized. Move existing modules in the old that don’t exist in the new addons folder.
Upgrade the database. For linux, start the odoo server with the –update=all parameter. For windows, as an administrator open the command prompt (cmd). Change to the odoo server directory and start the server with odoo-server.exe –update=all to update the modules. This process will take a short while (1-2minutes max) and the database won’t be accessible by the client
After the database upgrade you can start poking around your old modules you moved to the new to make sure that they where working. I had some that where not working, reports screwed up, but majority where simple fixes. Finally, your up and running the latest version. This has taught me a major lesson, document all changes/fixes you make yourself to applications and also keep track of them in the source control. Now next thing I will be setting up my old local svn server to keep track of the changes I make to odoo and also changes I will be merging from the subsequent releases.
You have several options for upgrading or migration. It is not an easy task:
Upgrade Odoo with the official API. It is not for free. I have read on the website that the main steps are:
OpenUpgrade. It is a migration tool, but it works only for the modules specified on the website.
ETL tool such as Clover ETL. Maybe too much work
Migrate specific tables by exporting them in a CSV file and import them back to the new Odoo version. This is useful if someone want to start from scratch, you will only need to import the main tables.
Use the flag --update=all
. You say that you have used this way after upgrading Odoo to the version 9, but I do not recommend it. Even if you don't change the Odoo version, if you update all the modules at the same time you will have a high chance to get several errors. It is like the Openupgrade method, but it is worse because you do not take into account the migrations folder where all the migrations scripts are stored such this one, just an example.
NOTE: And if you have programmed a custom module you must migrate it to the new version before the migration. If you have many custom modules the migration would be more expensive.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With