Odooers论坛

欢迎!

该社区面向专业人士和我们产品和服务的爱好者。
分享和讨论最好的内容和新的营销理念,建立您的专业形象,一起成为更好的营销人员。


0

Version migration community best practice.

形象
odoo
形象
丢弃
2 答案
0
形象
odoo
最佳答案

Hi Avash,

Greetings.

As mentioned by you, OpenUpgrade is a free script provided by OCA to migrate from different versions in Odoo community.
Though you might encounter different errors while executing the script, you can make necessary changes to the database accordingly and possibly achieve the migration.
There isn't a specific solution to the errors that you will face, as each time different errors might occur.

Also you'll have to make some changes to the script to make it run.
But on a short note its the best tool for migration.

Refer the below link for the blog on how to upgrade your database using OpenUpgrade.
- https://www.cybrosys.com/blog/how-to-upgrade-the-odoo-15-database-using-openupgrade
- https://www.cybrosys.com/blog/how-to-write-migration-scripts-using-open-upgrade-api
 
On the second method, if your database data is not too large, you can create a fresh database and import the data's into it or using rpc methods like jsonrpc or xmlrpc to write python scripts to import data simultaneously from these versions.

Reference:
- https://www.cybrosys.com/odoo/odoo-books/odoo-15-development/ch14/

Regards

形象
丢弃
0
形象
odoo
最佳答案

Thanks Cybrosys for your answer and  great resources shared.  

形象
丢弃