Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
7 Trả lời
12001 Lượt xem

I have converted my modules but got stuck on DB migration. Can anyone suggest the best methodology. The Openuprade is not stable yet for v8 to v9.

Any help on this would be greatly appreciated.

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi AKhil,

Best way is to go with OpenUpgrade.

Right now for v9, OCA is working on the migration script and will be ready soon for the migration.

Ảnh đại diện
Huỷ bỏ
Tác giả

Any other solutions Sudhir?

Can i migrate a database of odoo 9 to odoo 11 directly ? or i should need to do 9 to 10 , then 10 to 11 ? [using OCA migration script]

Câu trả lời hay nhất

Hello Akhil,

If you are covered by the Odoo Enterprise contract, you will be automatically provided the upgrade/migration service. This is the official and best way to upgrade your database to  newer version.

You pay extra only if you wish Odoo to migrate custom modules too. But since you have already migrated custom modules yourself, you just need to add them in your addons-path allow them to load with your already upgraded database.

Detailed steps of the official Odoo Upgrade process is explained at https://upgrade.odoo.com/database/upload , where you can also upload your database.

You might also find this post (https://www.odoo.com/forum/help-1/question/how-to-upgrade-to-v7-with-opw-contract-2580) helpful which explains a migration for v7.0 (the overall process is the same for upgrades to v8.0, v9.0, etc.)

Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Akhil, 

I have also gone many times this situation when i need to migrate data from odoo version 8 to odoo version 9, in such case the way i preferred is - 

1) Make that module compatible to the later version of odoo.

2) For data migration, do manually(LOL) or use some Posgresql commands(Not preferred as it not following odoo ORM methods), The best way among all is -- Make 1 script based on xmlrpc which interact with your previous odoo database, and populate same data to the later one.

For me, it is working perfectly till now.

Feel free to share any other way, if any :D 

Ảnh đại diện
Huỷ bỏ
Tác giả

But that worked for importing the product or partner images also? Can you give me an example for the xmlrpc script?

Yes, it worked for importing product as well as partner images too. Check this link https://www.odoo.com/documentation/8.0/api_integration.html Odoo official documentation is great, try it out and let me know if it worked or not.

Câu trả lời hay nhất

Hello Akhil


First check functionality odoo 8 and also check any changes  depends module in odoo9 

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
1
thg 12 15
3710
1
thg 11 15
5146
6
thg 11 15
10607
1
thg 10 15
4454
6
thg 4 16
12909