Passa al contenuto
Odoo Menu
  • Accedi
  • Provalo gratis
  • App
    Finanze
    • Contabilità
    • Fatturazione
    • Note spese
    • Fogli di calcolo (BI)
    • Documenti
    • Firma
    Vendite
    • CRM
    • Vendite
    • Punto vendita Negozio
    • Punto vendita Ristorante
    • Abbonamenti
    • Noleggi
    Siti web
    • Configuratore sito web
    • E-commerce
    • Blog
    • Forum
    • Live chat
    • E-learning
    Supply chain
    • Magazzino
    • Produzione
    • PLM
    • Acquisti
    • Manutenzione
    • Qualità
    Risorse umane
    • Dipendenti
    • Assunzioni
    • Ferie
    • Valutazioni
    • Referral dipendenti
    • Parco veicoli
    Marketing
    • Social marketing
    • E-mail marketing
    • SMS marketing
    • Eventi
    • Marketing automation
    • Sondaggi
    Servizi
    • Progetti
    • Fogli ore
    • Assistenza sul campo
    • Helpdesk
    • Pianificazione
    • Appuntamenti
    Produttività
    • Comunicazioni
    • Approvazioni
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    App di terze parti Odoo Studio Piattaforma cloud Odoo
  • Settori
    Retail
    • Libreria
    • Negozio di abbigliamento
    • Negozio di arredamento
    • Alimentari
    • Ferramenta
    • Negozio di giocattoli
    Cibo e ospitalità
    • Bar e pub
    • Ristorante
    • Fast food
    • Pensione
    • Grossista di bevande
    • Hotel
    Agenzia immobiliare
    • Agenzia immobiliare
    • Studio di architettura
    • Edilizia
    • Gestione immobiliare
    • Impresa di giardinaggio
    • Associazione di proprietari immobiliari
    Consulenza
    • Società di contabilità
    • Partner Odoo
    • Agenzia di marketing
    • Studio legale
    • Selezione del personale
    • Audit e certificazione
    Produzione
    • Tessile
    • Metallo
    • Arredamenti
    • Alimentare
    • Birrificio
    • Ditta di regalistica aziendale
    Benessere e sport
    • Club sportivo
    • Negozio di ottica
    • Centro fitness
    • Centro benessere
    • Farmacia
    • Parrucchiere
    Commercio
    • Tuttofare
    • Hardware e assistenza IT
    • Ditta di installazione di pannelli solari
    • Calzolaio
    • Servizi di pulizia
    • Servizi di climatizzazione
    Altro
    • Organizzazione non profit
    • Ente per la tutela ambientale
    • Agenzia di cartellonistica pubblicitaria
    • Studio fotografico
    • Punto noleggio di biciclette
    • Rivenditore di software
    Carica tutti i settori
  • Community
    Apprendimento
    • Tutorial
    • Documentazione
    • Certificazioni 
    • Formazione
    • Blog
    • Podcast
    Potenzia la tua formazione
    • Programma educativo
    • Scale Up! Business Game
    • Visita Odoo
    Ottieni il software
    • Scarica
    • Versioni a confronto
    • Note di versione
    Collabora
    • Github
    • Forum
    • Eventi
    • Traduzioni
    • Diventa nostro partner
    • Servizi per partner
    • Registra la tua società di contabilità
    Ottieni servizi
    • Trova un partner
    • Trova un contabile
    • Incontra un esperto
    • Servizi di implementazione
    • Testimonianze dei clienti
    • Supporto
    • Aggiornamenti
    GitHub Youtube Twitter Linkedin Instagram Facebook Spotify
    +1 (650) 691-3277
    Richiedi una demo
  • Prezzi
  • Aiuto

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

  • CRM
  • e-Commerce
  • Contabilità
  • Magazzino
  • PoS
  • Progetti
  • MRP
All apps
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
È necessario essere registrati per interagire con la community.
Tutti gli articoli Persone Badge
Etichette (Mostra tutto)
odoo accounting v14 pos v15
Sul forum
Assistenza

My customer external id conflicts with my product external id

Iscriviti

Ricevi una notifica quando c'è un'attività per questo post

La domanda è stata contrassegnata
contactsproductsimporting data from excel file
2 Risposte
2861 Visualizzazioni
Avatar
Bruno S

Good morning,

I have odoo online.

I am in my data import phase.

I took my product list from an already existing application with the id corresponding to this application.

I imported my list of products including the id and therefore I imported as an external id.

Everything went well. I now want to import my customer base.

And I have the following message for some clients "when trying to create/update a record of model res.partner found record of different model product.template". 

My customer external id conflicts with my product external id.

For me the external ids are specific to each table, so why this conflict?

Thank you in advance for your response.

Excellent day.

0
Avatar
Abbandona
Avatar
Thuy Ngoc
Risposta migliore

Hi  SCOCARD Bruno,

Odoo only uses one table to manage external ids, so if you want to create new records, please do not fill in the value in the external id column so that Odoo can generate the external id itself. Filling in the external id is only really useful in the case of updating data for existing records.

1
Avatar
Abbandona
Avatar
Bruno S
Autore Risposta migliore

Hi Thuy Ngoc,

Thank you very much for this response.

But in this case, how can I import orders for example and relate them to the products and customers already imported?


So I created an external id like this based on the original software ids:

- for a customer with the original id 370, in external id, I put contact_370 which ultimately gives __import__.contact_370

- for a product with the original id 370, in external id, I put product_370 which ultimately gives __import__.product_370

-For an order with the original id 370, in external id, I put order_370 which ultimately gives __import__.order_370

So I have no conflict and I thought I would keep the relationships between each element.


Regards

0
Avatar
Abbandona
Thuy Ngoc

Hi SCOCARD Bruno,

This case is a bit strange. Can you take a photo or video describing the steps you took to import?

Bruno S
Autore

I am referring to the Odoo documentation.

https://www.odoo.com/documentation/16.0/applications/general/export_import_data.html

What’s the difference between Database ID and External ID?

Thuy Ngoc

Regarding this difference, Odoo explains right in the article at the link above in paragraph:
"For the country Belgium, you can use one of these 3 ways to import:

Country: Belgium

Country/Database ID: 21

Country/External ID: base.be"

To reproduce your case more specifically, can you create a few google sheets to fill in some lines of data that you use to import?

Bruno S
Autore

Hi Thuy Ngoc,
After a few days of reflection, we decided not to go any further with the import. This is to be able to make maximum use of Odoo’s possibilities.
So with the product and customer databases imported, all the subscription documents etc. we will recreate them.
So thank you for your help.
Regards

Ti stai godendo la conversazione? Non leggere soltanto, partecipa anche tu!

Crea un account oggi per scoprire funzionalità esclusive ed entrare a far parte della nostra fantastica community!

Registrati
Post correlati Risposte Visualizzazioni Attività
Importing multiple Products via csv
products importing data from excel file
Avatar
Avatar
Avatar
3
apr 22
3461
how to import customer contacts odoo 10.0
contacts importing data from excel file
Avatar
Avatar
1
feb 17
14854
Common Product Catalogue and Contact for multi company in Odoo 13 Risolto
contacts multicompany products Odoo13.0
Avatar
Avatar
1
dic 19
6017
importing contacts. Getting blocking error: Contacts require a name at multiple rows
contacts
Avatar
Avatar
Avatar
2
ott 25
1021
Blocking Errors
contacts
Avatar
Avatar
1
ott 25
794
Community
  • Tutorial
  • Documentazione
  • Forum
Open source
  • Scarica
  • Github
  • Runbot
  • Traduzioni
Servizi
  • Hosting Odoo.sh
  • Supporto
  • Aggiornamenti
  • Sviluppi personalizzati
  • Formazione
  • Trova un contabile
  • Trova un partner
  • Diventa nostro partner
Chi siamo
  • La nostra azienda
  • Branding
  • Contattaci
  • Lavora con noi
  • Eventi
  • Podcast
  • Blog
  • Clienti
  • Note legali • Privacy
  • Sicurezza
الْعَرَبيّة 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 è un gestionale di applicazioni aziendali open source pensato per coprire tutte le esigenze della tua azienda: CRM, Vendite, E-commerce, Magazzino, Produzione, Fatturazione elettronica, Project Management e molto altro.

Il punto di forza di Odoo è quello di offrire un ecosistema unico di app facili da usare, intuitive e completamente integrate tra loro.

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