Se rendre au contenu
Odoo Menu
  • Se connecter
  • Essai gratuit
  • Applications
    Finance
    • Comptabilité
    • Facturation
    • Notes de frais
    • Feuilles de calcul (BI)
    • Documents
    • Signature
    Ventes
    • CRM
    • Ventes
    • PdV Boutique
    • PdV Restaurant
    • Abonnements
    • Location
    Sites web
    • Site Web
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Chaîne d'approvisionnement
    • Inventaire
    • Fabrication
    • PLM
    • Achats
    • Maintenance
    • Qualité
    Ressources Humaines
    • Employés
    • Recrutement
    • Congés
    • Évaluations
    • Recommandations
    • Parc automobile
    Marketing
    • Marketing Social
    • E-mail Marketing
    • SMS Marketing
    • Événements
    • Marketing Automation
    • Sondages
    Services
    • Projet
    • Feuilles de temps
    • Services sur Site
    • Assistance
    • Planification
    • Rendez-vous
    Productivité
    • Discussion
    • Validations
    • Internet des Objets
    • VoIP
    • Connaissances
    • WhatsApp
    Applications tierces Odoo Studio Plateforme Cloud d'Odoo
  • Industries
    Commerce de détail
    • Librairie
    • Magasin de vêtements
    • Magasin de meubles
    • Épicerie
    • Quincaillerie
    • Magasin de jouets
    Food & Hospitality
    • Bar et Pub
    • Restaurant
    • Fast-food
    • Maison d’hôtes
    • Distributeur de boissons
    • Hôtel
    Immobilier
    • Agence immobilière
    • Cabinet d'architecture
    • Construction
    • Gestion immobilière
    • Jardinage
    • Association de copropriétaires
    Consultance
    • Cabinet d'expertise comptable
    • Partenaire Odoo
    • Agence Marketing
    • Cabinet d'avocats
    • Aquisition de talents
    • Audit & Certification
    Fabrication
    • Textile
    • Métal
    • Meubles
    • Alimentation
    • Brewery
    • Cadeaux d'entreprise
    Santé & Fitness
    • Club de sports
    • Opticien
    • Salle de fitness
    • Praticiens bien-être
    • Pharmacie
    • Salon de coiffure
    Trades
    • Bricoleur
    • Matériel informatique et support
    • Systèmes photovoltaïques
    • Cordonnier
    • Services de nettoyage
    • Services CVC
    Autres
    • Organisation à but non lucratif
    • Agence environnementale
    • Location de panneaux d'affichage
    • Photographie
    • Leasing de vélos
    • Revendeur de logiciel
    Browse all Industries
  • Communauté
    Apprenez
    • Tutoriels
    • Documentation
    • Certifications
    • Formation
    • Blog
    • Podcast
    Renforcer l'éducation
    • Programme éducatif
    • Business Game Scale-Up!
    • Rendez-nous visite
    Obtenir le logiciel
    • Téléchargement
    • Comparez les éditions
    • Versions
    Collaborer
    • Github
    • Forum
    • Événements
    • Traductions
    • Devenez partenaire
    • Services for Partners
    • Enregistrer votre cabinet comptable
    Nos Services
    • Trouver un partenaire
    • Trouver un comptable
    • Rencontrer un conseiller
    • Services de mise en œuvre
    • Références clients
    • Assistance
    • Mises à niveau
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Obtenir une démonstration
  • Tarification
  • Aide

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

  • CRM
  • e-Commerce
  • Comptabilité
  • Inventaire
  • PoS
  • Projet
  • MRP
All apps
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Vous devez être inscrit pour interagir avec la communauté.
Toutes les publications Personnes Badges
Étiquettes (Voir toutl)
odoo accounting v14 pos v15
À propos de ce forum
Aide

Problem importing customers and contacts using CSV data

S'inscrire

Recevez une notification lorsqu'il y a de l'activité sur ce poste

Cette question a été signalée
importv7csv
1 Répondre
10436 Vues
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
Ignorer
Avatar
Nikolaj
Meilleure réponse

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
Ignorer
Rainer Brand
Auteur

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
Auteur

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.

Vous appréciez la discussion ? Ne vous contentez pas de lire, rejoignez-nous !

Créez un compte dès aujourd'hui pour profiter de fonctionnalités exclusives et échanger avec notre formidable communauté !

S'inscrire
Publications associées Réponses Vues Activité
Where is "noupdate" option for CSV files?
import v7 csv
Avatar
Avatar
1
avr. 22
7632
Required CSV import fields and template of CSV files Résolu
fields import v7 csv
Avatar
Avatar
Avatar
Avatar
3
oct. 23
35938
Cannot see imported products
product import v7 csv
Avatar
Avatar
3
juil. 19
7153
How to import multiple lines text fields with CSV ? Résolu
import v7
Avatar
Avatar
Avatar
Avatar
Avatar
5
sept. 25
24788
Disable automatic follow when importing res.partner csv
import csv
Avatar
Avatar
Avatar
3
juin 20
4887
Communauté
  • Tutoriels
  • Documentation
  • Forum
Open Source
  • Téléchargement
  • Github
  • Runbot
  • Traductions
Services
  • Hébergement Odoo.sh
  • Assistance
  • Migration
  • Développements personnalisés
  • Éducation
  • Trouver un comptable
  • Trouver un partenaire
  • Devenez partenaire
À propos
  • Notre société
  • Actifs de la marque
  • Contactez-nous
  • Emplois
  • Événements
  • Podcast
  • Blog
  • Clients
  • Informations légales • Confidentialité
  • Sécurité.
الْعَرَبيّة 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 est une suite d'applications open source couvrant tous les besoins de votre entreprise : CRM, eCommerce, Comptabilité, Inventaire, Point de Vente, Gestion de Projet, etc.

Le positionnement unique d'Odoo est d'être à la fois très facile à utiliser et totalement intégré.

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