Community mailing list archives

community@mail.odoo.com

RE: mass importing partners. whats the best way?

by
hans.yonathan
- 09/10/2015 06:14:48

Yes, its not possible to directly import by odoo user interface.

You must split it to make it works.

 

But it possible if you can write python script for xml-rpc.

 

Here is the video:

Directly to postgres

https://www.youtube.com/watch?v=tWFZWw3uY4k

 

using xml-rpc

https://www.youtube.com/watch?v=goh6swXRYns

 

Here is odoo documentation:

https://www.odoo.com/documentation/8.0/api_integration.html

 

 

Thank You.

 

Best Regards,

Hans Yonathan

Odoo Support

FALINWA Limited

Expert in Finance, Information System & Business Intelligence

Odoo Silver Partner

Website: www.falinwa.com

Tel. 13670137019 (China - Shenzhen)

 

From: robert [mailto:robert@redcor.ch]
Sent: Thursday, September 10, 2015 6:09 PM
To: Community <community@mail.odoo.com>
Subject: mass importing partners. whats the best way?

 

Hi there,

 

I would like to import some 60'000 partners from a foreign (mysql) database.

I tried to import them from a csv file.

But this just seems next to impossible in one single lifetime ..

 

Now my questions:

what is the best way do do so?

I do not mind to write a python script to achieve this.

However I would be gratefull for a kind of sample on how to do it.

 

thanks

robert

_______________________________________________
Mailing-List: https://www.odoo.com/groups/community-59
Post to: mailto:community@mail.odoo.com
Unsubscribe: https://www.odoo.com/groups?unsubscribe