Skip to Content
Odoo Menú
  • Registra entrada
  • Prova-ho gratis
  • Aplicacions
    Finances
    • Comptabilitat
    • Facturació
    • Despeses
    • Full de càlcul (IA)
    • Documents
    • Signatura
    Vendes
    • CRM
    • Vendes
    • Punt de venda per a botigues
    • Punt de venda per a restaurants
    • Subscripcions
    • Lloguer
    Imatges de llocs web
    • Creació de llocs web
    • Comerç electrònic
    • Blog
    • Fòrum
    • Xat en directe
    • Aprenentatge en línia
    Cadena de subministrament
    • Inventari
    • Fabricació
    • PLM
    • Compres
    • Manteniment
    • Qualitat
    Recursos humans
    • Empleats
    • Reclutament
    • Absències
    • Avaluacions
    • Recomanacions
    • Flota
    Màrqueting
    • Màrqueting Social
    • Màrqueting per correu electrònic
    • Màrqueting per SMS
    • Esdeveniments
    • Automatització del màrqueting
    • Enquestes
    Serveis
    • Projectes
    • Fulls d'hores
    • Servei de camp
    • Suport
    • Planificació
    • Cites
    Productivitat
    • Converses
    • Validacions
    • IoT
    • VoIP
    • Coneixements
    • WhatsApp
    Aplicacions de tercers Odoo Studio Plataforma d'Odoo al núvol
  • Sectors
    Comerç al detall
    • Llibreria
    • Botiga de roba
    • Botiga de mobles
    • Botiga d'ultramarins
    • Ferreteria
    • Botiga de joguines
    Food & Hospitality
    • Bar i pub
    • Restaurant
    • Menjar ràpid
    • Guest House
    • Distribuïdor de begudes
    • Hotel
    Immobiliari
    • Agència immobiliària
    • Estudi d'arquitectura
    • Construcció
    • Gestió immobiliària
    • Jardineria
    • Associació de propietaris de béns immobles
    Consultoria
    • Empresa comptable
    • Partner d'Odoo
    • Agència de màrqueting
    • Bufet d'advocats
    • Captació de talent
    • Auditoria i certificació
    Fabricació
    • Textile
    • Metal
    • Mobles
    • Menjar
    • Brewery
    • Regals corporatius
    Salut i fitness
    • Club d'esport
    • Òptica
    • Centre de fitness
    • Especialistes en benestar
    • Farmàcia
    • Perruqueria
    Trades
    • Servei de manteniment
    • Hardware i suport informàtic
    • Sistemes d'energia solar
    • Shoe Maker
    • Serveis de neteja
    • Instal·lacions HVAC
    Altres
    • Nonprofit Organization
    • Agència del medi ambient
    • Lloguer de panells publicitaris
    • Fotografia
    • Lloguer de bicicletes
    • Distribuïdors de programari
    Browse all Industries
  • Comunitat
    Aprèn
    • Tutorials
    • Documentació
    • Certificacions
    • Formació
    • Blog
    • Pòdcast
    Potenciar l'educació
    • Programa educatiu
    • Scale-Up! El joc empresarial
    • Visita Odoo
    Obtindre el programari
    • Descarregar
    • Comparar edicions
    • Novetats de les versions
    Col·laborar
    • GitHub
    • Fòrum
    • Esdeveniments
    • Traduccions
    • Converteix-te en partner
    • Services for Partners
    • Registra la teva empresa comptable
    Obtindre els serveis
    • Troba un partner
    • Troba un comptable
    • Contacta amb un expert
    • Serveis d'implementació
    • Referències del client
    • Suport
    • Actualitzacions
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Programar una demo
  • Preus
  • Ajuda

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

  • CRM
  • e-Commerce
  • Comptabilitat
  • Inventari
  • PoS
  • Projectes
  • MRP
All apps
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
You need to be registered to interact with the community.
All Posts People Badges
Etiquetes (View all)
odoo accounting v14 pos v15
About this forum
Ajuda

Problem importing customers and contacts using CSV data

Subscriure's

Get notified when there's activity on this post

This question has been flagged
importv7csv
1 Respondre
10423 Vistes
Avatar
Rainer Brand

Hello all,

I'm trying to import customers with their related contacts from an old application into V7 using CSV files and the web client interface. Although importing the customers itself works without any problems, getting the linked contacts seems impossible. I tried all the formats described in the documentation but even using the sample files like

Name,Contacts/Contact Name,Contacts/City
Testcompany1,Theo Test,City1
,Tony Test,City2
Testcompany2,Albert Adams,City3

results in getting the data in but without having them linked (no contact person listed for Testcompany1 or Testcompany2).

Adding fields like company_id/id, is_company, customer, supplier works fine for getting the customers in but does not help for the related contacts. And although my import file with the real data has much more fields and thus is a bit more complex, the import works for the customers as already mentioned (see below):

customer,ref,company_id/id,name,street,zip,city,comment,active,country/id,phone,fax,email,bank_ids/state,bank_ids/acc_number,bank_ids/bank_bic,bank_ids/bank_name,vat,property_payment_term/id,lang,mobile,notification_email_send,is_company

Is there anybody having the same problems? Which field for getting the relation should be in the CSV file? Maybe I've overlooked something quite simple but up to now I can't see it.

Any help is highly appreciated.

1
Avatar
Descartar
Avatar
Nikolaj
Best Answer

I ran into the exact same problem. It is because companies and contacts have been separated in v7, so you need to import them separately. I only imported my partner companies so far, but the contacts should be a very similar .CSV. Please see the release notes for details - http://v6.openerp.com/node/1269#h.rkpllg84kdus

1
Avatar
Descartar
Rainer Brand
Autor

Thanks for the link, this is quite interesting to read and I will have a more detailed look at it. I already tried to use separate files for the contacts but this didn't work as I couldn't figure out which field I have to use to build up the reference to my already imported customers. I tried many fields using both the import dialogue in the web client or by modifying the csv structure - but unfortunately no success. So I do not have another idea and I'm stuck at the moment.

Nikolaj

Yes I always have trouble figuring out which fields to use. It takes forever to figure it out. It would be useful if OpenERP could supply some kind of demo on best practice when using the built in import function. I guess it goes back to the issue of awful documentation for v7. Have you tried creating a demo contact and company and then exporting them?

Rainer Brand
Autor

I fully agree regarding regarding the best practices and the documentation is not yet up to v6. The full list above was built up by creating demo data in v7 and exporting back, so I got the exact list of fields. After this did not work for contacts I switched back to the easier structure provided in the documentation - but as you can see, not with good results. By the way - thanks for your time and your help, this is highly appreciated :-)

Nikolaj

From looking at the demo data I see this: Contact and Company is imported the same way i.e. the Contact is its own entry, the difference between it and a Company is the is_company field. You can set the Contact to be a child of the company using the child_ids fields.

Enjoying the discussion? Don't just read, join in!

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

Registrar-se
Related Posts Respostes Vistes Activitat
Where is "noupdate" option for CSV files?
import v7 csv
Avatar
Avatar
1
d’abr. 22
7616
Required CSV import fields and template of CSV files Solved
fields import v7 csv
Avatar
Avatar
Avatar
Avatar
3
d’oct. 23
35927
Cannot see imported products
product import v7 csv
Avatar
Avatar
3
de jul. 19
7148
How to import multiple lines text fields with CSV ? Solved
import v7
Avatar
Avatar
Avatar
Avatar
Avatar
5
de set. 25
24771
Disable automatic follow when importing res.partner csv
import csv
Avatar
Avatar
Avatar
3
de juny 20
4879
Community
  • Tutorials
  • Documentació
  • Fòrum
Codi obert
  • Descarregar
  • GitHub
  • Runbot
  • Traduccions
Serveis
  • Allotjament a Odoo.sh
  • Suport
  • Actualització
  • Desenvolupaments personalitzats
  • Educació
  • Troba un comptable
  • Troba un partner
  • Converteix-te en partner
Sobre nosaltres
  • La nostra empresa
  • Actius de marca
  • Contacta amb nosaltres
  • Llocs de treball
  • Esdeveniments
  • Pòdcast
  • Blog
  • Clients
  • Informació legal • Privacitat
  • Seguretat
الْعَرَبيّة 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 és un conjunt d'aplicacions empresarials de codi obert que cobreix totes les necessitats de la teva empresa: CRM, comerç electrònic, comptabilitat, inventari, punt de venda, gestió de projectes, etc.

La proposta única de valor d'Odoo és ser molt fàcil d'utilitzar i estar totalment integrat, ambdues alhora.

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