How to upgrade odoo 8 to odoo 9 database?

99封情书 提交于 2019-11-30 16:36:21

You can ask the odoo company to do that task for you by going to this link .But they will charge money for that. If you can do it yourself here is the documentation on how to do that, https://doc.therp.nl/openupgrade/intro.html

Option 2: We can use pgadmin(postgresql gui tool).Just select your database name and in the top you can see sql enabled,click it and issue an sql query to display all data(you must know the table name which you want to retreive) after that you can export it.The exported file contains all the data with column headings,we may have to rearrange columns according to odoo9 DB.Once it is done select odoo9 database,right click on the table name which you want to import data to and select import option.It may take a while and it should give message as "data imported successfully".

I found the answer on Github.

The trick is to create a field called transient which is Boolean with the default value false in the table ir_model.

As I expected, this is not the complete solution as there are other problem with the database needing adjustments.

You are trying to run a Odoo 8.0 database on Odoo 9.0.

The column 'transient' is in the code base for 9.0 and not in the 8.0 code base. Hence the 8.0 database is being ran on the 9.0 code base. Hence, the database has not been upgraded properly.

As stated in the previous answer. You can either get Odoo to do it or can do it yourself as well.

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!