コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
2227 ビュー

I need to Migrate (data import) from legacy "Infor Visual Manufacturing ERP" to Odoo.

Does anybody have any field mapping script, which I can use for reference purposes to help me populate the Odoo data import templates CSV files (or use SQL to insert directly into Odoo tables)?

Below is an example of the type of mapping script which I seek, which I would use for inserting Visual's "Customer" table into Odoo's table "public_res_partner":

SELECT DISTINCT c.ID AS ref, c.NAME AS name, c.NAME AS company_name, "1" AS is_company, c.OPEN_DATE AS create_date, c.WEB_URL AS website, c.ADDR_1 AS street, c.ZIPCODE AS zip, c.CONTACT_EMAIL AS email, c.CONTACT_PHONE AS phone, c.CONTACT_MOBILE AS mobile, 1 AS active 
INTO public_res_partner_temp
FROM dbo_CUSTOMERl AS c;



Thank you very much!


アバター
破棄
最善の回答

Hi Nat,

I think this video can help you: https://www.youtube.com/watch?v=UOBxxnYDIsM&list=PLSKcWRTtEl5qzvRaI-VTGavfReiHS_EEb&index=1

アバター
破棄
最善の回答

Hi,

You can use the import export option of odoo. Suppose if you need to export all the products from legacy erp into odoo, you can export the product records from your erp in an excel sheet or a csv and then you can import it into odoo.


To get an import template for odoo, just create a record in corresponding table, and then from tree view, export it by selecting necessary fields and use the exported file as a template for further imports.


Achieving it using scripts are also fine, you can utilize the xmlrpc to connect with odoo from external application.

Thanks

アバター
破棄
関連投稿 返信 ビュー 活動
6
1月 25
11535
0
1月 24
989
0
12月 23
1222
1
6月 25
320
1
2月 25
5047