Skip to Content
Odoo Menu
  • Prihlásiť sa
  • Vyskúšajte zadarmo
  • Aplikácie
    Financie
    • Účtovníctvo
    • Fakturácia
    • Výdavky
    • Tabuľka (BI)
    • Dokumenty
    • Podpis
    Predaj
    • CRM
    • Predaj
    • POS Shop
    • POS Restaurant
    • Manažment odberu
    • Požičovňa
    Webstránky
    • Tvorca webstránok
    • eShop
    • Blog
    • Fórum
    • Živý chat
    • eLearning
    Supply Chain
    • Sklad
    • Výroba
    • Správa životného cyklu produktu
    • Nákup
    • Údržba
    • Manažment kvality
    Ľudské zdroje
    • Zamestnanci
    • Nábor zamestnancov
    • Voľné dni
    • Hodnotenia
    • Odporúčania
    • Vozový park
    Marketing
    • Marketing sociálnych sietí
    • Email marketing
    • SMS marketing
    • Eventy
    • Marketingová automatizácia
    • Prieskumy
    Služby
    • Projektové riadenie
    • Pracovné výkazy
    • Práca v teréne
    • Helpdesk
    • Plánovanie
    • Schôdzky
    Produktivita
    • Tímová komunikácia
    • Schvalovania
    • IoT
    • VoIP
    • Znalosti
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Priemyselné odvetvia
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Reštaurácia
    • Fast Food
    • Guest House
    • Beverage distributor
    • Hotel
    Reality
    • Real Estate Agency
    • Architecture Firm
    • Konštrukcia
    • Estate Managament
    • Gardening
    • Property Owner Association
    Poradenstvo
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Výroba
    • Textile
    • Metal
    • Furnitures
    • Jedlo
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware and Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Iní
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Komunita
    Vzdelávanie
    • Tutoriály
    • Dokumentácia
    • Certifikácie
    • Školenie
    • Blog
    • Podcast
    Empower Education
    • Vzdelávací program
    • Scale Up! Business Game
    • Visit Odoo
    Softvér
    • Stiahnuť
    • Porovnanie Community a Enterprise vierzie
    • Releases
    Spolupráca
    • Github
    • Fórum
    • Eventy
    • Preklady
    • Staň sa partnerom
    • Services for Partners
    • Register your Accounting Firm
    Služby
    • Nájdite partnera
    • Nájdite účtovníka
    • Meet an advisor
    • Implementation Services
    • Zákaznícke referencie
    • Podpora
    • Upgrades
    ​Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Získajte demo
  • Cenník
  • Pomoc

Odoo is the world's easiest all-in-one management software.
It includes hundreds of business apps:

  • CRM
  • e-Commerce
  • Účtovníctvo
  • Sklady
  • PoS
  • Projektové riadenie
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Tagy (View all)
odoo accounting v14 pos v15
About this forum
Pomoc

migrate data (postgres) from a SugarCRM to Odoo?

Odoberať

Get notified when there's activity on this post

This question has been flagged
pythonpostgresqlsugarcrmopenerppostgresodoo
4 Replies
8931 Zobrazenia
Avatar
Abdul Qavi

Hi ,

I've a very large database in a CRM (SugarCRM), I'm thinking of migrating that database to Odoo? How can I do that. What I can see is SugarCRM and Odoo have completely different database schemas, so I can't think of directly migrating database from SugarCRM to Odoo. I will have to manually import entries in Odoo. Or is there any possibility of programmatically importing the database in Odoo?

Thanks,
Abdul

0
Avatar
Zrušiť
Avatar
Mathias Colpaert
Best Answer

Can you export your data to Excel or CVS? If so, you could just import it via standard import functionality, without much programming..

What kind of data do you have? 

  • Customer data (adres, name, etc..)
  • Prospect/opportunity/lead data?

What more would you like to export?

1
Avatar
Zrušiť
Abdul Qavi
Autor

Thanks dear Mathias, I've exported to CSV and tried to import in Odoo, but the problem is SugarCRM and Odoo have completely different DB schemas. So now I've come across the solution (either using ETL or writing a custom script to migrate the data). Thanks

Avatar
Fouric
Best Answer

I've recently been importing data from zoho to odoo using the standard import feature of odoo it worked perfectly using the External ID feature for Contacts/Partners/Oppurtunity/Country.

This slideshare was a great help:
http://fr.slideshare.net/Audaxis/opendays-import-csv-2013v5

Only problem, I wasn't abble to import the several "notes" or "messages" attached to each contacts or opportunity.

 

0
Avatar
Zrušiť
Abdul Qavi
Autor

Thanks Ric. Have you been able to define relationships among various tables as well?

Fouric

Yes I have. Here is what I did for the contact table: - Export contact data of zoho to CSV - Import data into google spreadsheet in order to clean the data like merging First and Last Name. In the process make sure there is a unique identifier for each contact and that the unique identifier of the company appears for each contact. It is also usefull the change the field name in order to help odoo retrieve automaticaly each field and suppress unecessary fields. and also don't forget to set a field "is_company" as "false" for all the contacts - Export data from google speadsheet to .csv format. - Import .csv file to odoo, if odoo hasn't retrieve automaticaly the name of the field you'll have to pick the correct odoo field for each field or your file (that's why it is better to rename the title of your field before exporting the data from google spreadsheet) for the unique identifier of the company set the name this field to "related company / external ID" and off you go you can import the data. If you have over 500 contacts to import I advise you to do some testing first with less than 3 contacts. Don't worry if you try to import the same contact many times since you have previously set a unique identifier for each contact and that you named the field "External ID" odoo will automaticaly detect that this contact has already been imported and only new fields linked to this contact will be added to your odoo contact. It took me a full day to import 1500 contacts 1000 companies and 200 opportunities.

OdooBot
Thanks Ric, It's great! The question remains the same. When you've exported data to Google spreadsheets and the imported .csv into Odoo, how did you manage relationships b/w tables like Contacts and opportunities?


On Tue, Aug 26, 2014 at 11:35 AM, Ric <af2@mail.odoo.com> wrote:

Yes I have. Here is what I did for the contact table: - Export contact data of zoho to CSV - Import data into google spreadsheet in order to clean the data like merging First and Last Name. In the process make sure there is a unique identifier for each contact and that the unique identifier of the company appears for each contact. It is also usefull the change the field name in order to help odoo retrieve automaticaly each field and suppress unecessary fields. and also don't forget to set a field "is_company" as "false" for all the contacts - Export data from google speadsheet to .csv format. - Import .csv file to odoo, if odoo hasn't retrieve automaticaly the name of the field you'll have to pick the correct odoo field for each field or your file (that's why it is better to rename the title of your field before exporting the data from google spreadsheet) for the unique identifier of the company set the name this field to "related company / external ID" and off you go you can import the data. If you have over 500 contacts to import I advise you to do some testing first with less than 3 contacts. Don't worry if you try to import the same contact many times since you have previously set a unique identifier for each contact and that you named the field "External ID" odoo will automaticaly detect that this contact has already been imported and only new fields linked to this contact will be added to your odoo contact. It took me a full day to import 1500 contacts 1000 companies and 200 opportunities.

--
Ric Sent by Odoo Inc. using Odoo. about Forum Post False

Fouric

Let's say you have two tables: one for "contact" and one for "companies" your "companies" table need to have a "unique identifier" field that you will name "external ID" it is this field that will allow you to relate the "company" to your "contact" Your "contact" table will have a field called "External ID" but also a field named "related company / external ID" which stands for the "External ID" of the company you've just imported.

OdooBot
Thank you so much Ric. Great! It's quite helpful. One last problem. I've about 300,000 contacts, and when I import them even in chunks of 50,000, the Odoo server times-out or memory leak occurs, and it crashes. What do you recommend please.


On Tue, Aug 26, 2014 at 11:52 AM, Ric <af2@mail.odoo.com> wrote:

Let's say you have two tables: one for "contact" and one for "companies" your "companies" table need to have a "unique identifier" field that you will name "external ID" it is this field that will allow you to relate the "company" to your "contact" Your "contact" table will have a field called "External ID" but also a field named "related company / external ID" which stands for the "External ID" of the company you've just imported.

--
Ric Sent by Odoo Inc. using Odoo. about Forum Post False

Fouric

300 000 !! no other choice than asking odoo for some help or load it by pieces of 5000 may be....

OdooBot
yes, I've been advised to use ETL or write a script to migrate the data. Let me explore. 

Thank you so much.

Abdul


On Tue, Aug 26, 2014 at 12:06 PM, Ric <af2@mail.odoo.com> wrote:

300 000 !! no other choice than asking odoo for some help or load it by pieces of 5000 may be....

--
Ric Sent by Odoo Inc. using Odoo. about Forum Post False

Avatar
Ivan Elizaryev
Best Answer

I create module https://github.com/yelizariev/addons-yelizariev/tree/master/sugarcrm_migration

It's based on standard import functionality, but allows to create complex mapping rules, split importing records in batches, create child contacts from sugarcrm fields (e.g. primary_first_name_c, primary_first_name_c etc.), create tags from sugarcrm fields etc.

I am not sure that this module is ready-to-use for you, but it is a good start point.

0
Avatar
Zrušiť
Abdul Qavi
Autor

Yes great! It was really helpful, thanks !

Avatar
Abdul Qavi
Autor Best Answer

The problem seems to be solved using ETL, or may be I've to write a custom script in Python to do the migration. Here is more detail:

http://stackoverflow.com/questions/25342401/migrate-data-from-sugarcrm-to-odoo

Thanks,

0
Avatar
Zrušiť
Enjoying the discussion? Don't just read, join in!

Create an account today to enjoy exclusive features and engage with our awesome community!

Registrácia
Related Posts Replies Zobrazenia Aktivita
Find Customer from shopify with the particular range of date using shopify python api
python openerp odoo
Avatar
0
jún 16
4279
how to retrieve data one2many fields from product.suplierinfo
python openerp odoo
Avatar
Avatar
1
júl 15
6010
what is the maximum user of openerp ?
postgresql openerp odoo
Avatar
Avatar
1
mar 15
6309
Problems with Odoo 12 depends on Python Version and PostgreSQL Version Solved
python version postgresql odoo
Avatar
Avatar
1
jan 24
18882
No passwd entry for user 'postgres' in odoo 12
postgresql postgres odoo odoo12
Avatar
1
dec 19
10770
Komunita
  • Tutoriály
  • Dokumentácia
  • Fórum
Open Source
  • Stiahnuť
  • Github
  • Runbot
  • Preklady
Služby
  • Odoo.sh hosting
  • Podpora
  • Vyššia verzia
  • Custom Developments
  • Vzdelávanie
  • Nájdite účtovníka
  • Nájdite partnera
  • Staň sa partnerom
O nás
  • Naša spoločnosť
  • Majetok značky
  • Kontaktujte nás
  • Pracovné ponuky
  • Eventy
  • Podcast
  • Blog
  • Zákazníci
  • Právne dokumenty • Súkromie
  • Bezpečnosť
الْعَرَبيّة Català 简体中文 繁體中文 (台灣) Čeština Dansk Nederlands English Suomi Français Deutsch हिंदी Bahasa Indonesia Italiano 日本語 한국어 (KR) Lietuvių kalba Język polski Português (BR) română русский язык Slovenský jazyk slovenščina Español (América Latina) Español ภาษาไทย Türkçe українська Tiếng Việt

Odoo je sada podnikových aplikácií s otvoreným zdrojovým kódom, ktoré pokrývajú všetky potreby vašej spoločnosti: CRM, e-shop, účtovníctvo, skladové hospodárstvo, miesto predaja, projektový manažment atď.

Odoo prináša vysokú pridanú hodnotu v jednoduchom použití a súčasne plne integrovanými biznis aplikáciami.

Website made with

Odoo Experience on YouTube

1. Use the live chat to ask your questions.
2. The operator answers within a few minutes.

Live support on Youtube
Watch now