Skip to Content
Odoo Menu
  • Prijavi
  • Try it free
  • Aplikacije
    Finance
    • Knjigovodstvo
    • Obračun
    • Stroški
    • Spreadsheet (BI)
    • Dokumenti
    • Podpisovanje
    Prodaja
    • CRM
    • Prodaja
    • POS Shop
    • POS Restaurant
    • Naročnine
    • Najem
    Spletne strani
    • Website Builder
    • Spletna trgovina
    • Blog
    • Forum
    • Pogovor v živo
    • eUčenje
    Dobavna veriga
    • Zaloga
    • Proizvodnja
    • PLM
    • Nabava
    • Vzdrževanje
    • Kakovost
    Kadri
    • Kadri
    • Kadrovanje
    • Odsotnost
    • Ocenjevanja
    • Priporočila
    • Vozni park
    Marketing
    • Družbeno Trženje
    • Email Marketing
    • SMS Marketing
    • Dogodki
    • Avtomatizacija trženja
    • Ankete
    Storitve
    • Projekt
    • Časovnice
    • Storitve na terenu
    • Služba za pomoč
    • Načrtovanje
    • Termini
    Produktivnost
    • Razprave
    • Odobritve
    • IoT
    • Voip
    • Znanje
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industrije
    Trgovina na drobno
    • Book Store
    • Trgovina z oblačili
    • Trgovina s pohištvom
    • Grocery Store
    • Trgovina s strojno opremo računalnikov
    • Trgovina z igračami
    Food & Hospitality
    • Bar and Pub
    • Restavracija
    • Hitra hrana
    • Guest House
    • Beverage Distributor
    • Hotel
    Nepremičnine
    • Real Estate Agency
    • Arhitekturno podjetje
    • Gradbeništvo
    • Estate Management
    • Vrtnarjenje
    • Združenje lastnikov nepremičnin
    Svetovanje
    • Računovodsko podjetje
    • Odoo Partner
    • Marketinška agencija
    • Law firm
    • Pridobivanje talentov
    • Audit & Certification
    Proizvodnja
    • Tekstil
    • Metal
    • Pohištvo
    • Hrana
    • Brewery
    • Poslovna darila
    Health & Fitness
    • Športni klub
    • Trgovina z očali
    • Fitnes center
    • Wellness Practitioners
    • Lekarna
    • Frizerski salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Sistemi sončne energije
    • Izdelovalec čevljev
    • Čistilne storitve
    • HVAC Services
    Ostali
    • Neprofitna organizacija
    • Agencija za okolje
    • Najem oglasnih panojev
    • Fotografija
    • Najem koles
    • Prodajalec programske opreme
    Browse all Industries
  • Skupnost
    Learn
    • Tutorials
    • Dokumentacija
    • Certifikati
    • Šolanje
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Prenesi
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Dogodki
    • Prevodi
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
    • Meet an advisor
    • Implementation Services
    • Sklici kupca
    • Podpora
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Get a demo
  • Določanje cen
  • Pomoč

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

  • CRM
  • e-Commerce
  • Knjigovodstvo
  • Zaloga
  • PoS
  • Projekt
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Ključne besede (View all)
odoo accounting v14 pos v15
About this forum
Pomoč

migrate data (postgres) from a SugarCRM to Odoo?

Naroči se

Get notified when there's activity on this post

This question has been flagged
pythonpostgresqlsugarcrmopenerppostgresodoo
4 Odgovori
8929 Prikazi
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
Opusti
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
Opusti
Abdul Qavi
Avtor

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
Opusti
Abdul Qavi
Avtor

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
Opusti
Abdul Qavi
Avtor

Yes great! It was really helpful, thanks !

Avatar
Abdul Qavi
Avtor 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
Opusti
Enjoying the discussion? Don't just read, join in!

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

Prijavi
Related Posts Odgovori Prikazi Aktivnost
Find Customer from shopify with the particular range of date using shopify python api
python openerp odoo
Avatar
0
jun. 16
4279
how to retrieve data one2many fields from product.suplierinfo
python openerp odoo
Avatar
Avatar
1
jul. 15
6009
what is the maximum user of openerp ?
postgresql openerp odoo
Avatar
Avatar
1
mar. 15
6308
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
Community
  • Tutorials
  • Dokumentacija
  • Forum
Open Source
  • Prenesi
  • Github
  • Runbot
  • Prevodi
Services
  • Odoo.sh Hosting
  • Podpora
  • Nadgradnja
  • Custom Developments
  • Izobraževanje
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Sredstva blagovne znamke
  • Kontakt
  • Zaposlitve
  • Dogodki
  • Podcast
  • Blog
  • Stranke
  • Pravno • Zasebnost
  • Varnost
الْعَرَبيّة 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 is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

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