Skip to Content
Menu
This question has been flagged
2 Replies
1519 Views

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!


Avatar
Discard
Best Answer

Hi Nat,

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

Avatar
Discard
Best Answer

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

Avatar
Discard
Related Posts Replies Views Activity
6
Jan 25
10237
0
Jan 24
402
0
Dec 23
746
1
Feb 25
4539
3
Dec 19
8375