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

utf8 codec can't decode byte error while importing master data csv from windows OS ?

Iscriviti

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

La domanda è stata contrassegnata
importdocscsv
3 Risposte
13914 Visualizzazioni
Avatar
muthunaveen

Hi Friends,

Facing an different scenario altogether. I had a master data csv created from the original MS-excel document. I have ensure it has got comma separator and UTF-8 encoding while saving it. When i try to import into customers, suppliers or products i am getting an error

Blockquote

utf8' codec can't decode byte 0x92 in position 15: invalid start byte

Blockquote

but when i try to import the same csv from ubuntu it succeeds in validation and import as well. Looks strange.

Can some one tell me where is the issue ? any one facing a similar issue of mine ?

Thanks in advance for your suggestions.

Regards Naveen

0
Avatar
Abbandona
Avatar
Ray Carnes
Risposta migliore

Using Excel to create UTF8 CSV files is problematic (sometimes saving as XLS instead of XLSX first produces different results, sometimes the UTF8 files are not in fact UTF8).

I have better luck using a different text editor, or using a codepage conversion program.

Also, don't overlook that some conversion may be happening when you move your files between operating systems.

References:

http://notepad-plus-plus.org/

http://sourceforge.net/projects/cp-converter/

0
Avatar
Abbandona
muthunaveen
Autore

Thanks for the reply Ray, i understood the key now.

muthunaveen
Autore

Ray i have another doubt, am facing issue while importing customers along wt its contacts. I am able to import customers alone wtout any errors but when i tried wt its contacts OE cant recognise the data and giving out error. Not sure am i missing out the right fields to use. Can u let me know if you are aware of the exact fields for customer and contacts.

muthunaveen
Autore

hi i have cracked it no need to worry, btw t key is to have each contact as a separate line item under a Parent company and adding a new column related company will do the needful at one shot.

Avatar
Alain ZIO
Risposta migliore

Hi Mutu,
Importing datas with MS Excel most of the time gives you this error except when you first export some datas from Openerp.
To solve this problem while using MS Excel just change the encoding methode from UTF-8 to windows-1252 and use "Semicolon" as separator , even if you are 100% sure that MS Excel has saved your file in .csv
Best regards

0
Avatar
Abbandona
muthunaveen
Autore

Thanks for your answer Alain. Will try doing the same, but doing the same in libre office seems to be a permanent solution for this.

Avatar
Med Said BARA
Risposta migliore

Hi,

I've also faced this situation.

And the solution is:

Under windows don't use MS Excel, but use LibreOffice or OpenOfficeOrg, when converting to csv.

0
Avatar
Abbandona
muthunaveen
Autore

Hi and yes i understood now, converting an Excel to csv in windows has an issue so tat openerp cannot recognise the ascii format of the texts it seems, if am correct. Anyways am doing the alternate approach as u suggested as i have another OS i.e Ubuntu besides Windows 8. But dont wish to switch the OS every time i want to import the data. Thanks a lot for your answer. Good day ahead!.

muthunaveen
Autore

I have another small problem which am facing i.e i want to import all the customers with its respective contacts at one shot, but am unable to do so. I am not sure which is the relative field for the "contacts column. I tried using all t combinations as i know but all failed returning error. I am able to import the customers witout contacts but not with both at one shot. Can you tell me whats the right fields to be used. ? Would of great help to me in that case.

muthunaveen
Autore

hi i have cracked it no need to worry, btw t key is to have each contact as a separate line item under a Parent company and adding a new column related company will do the needful at one shot.

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à
Disable automatic follow when importing res.partner csv
import csv
Avatar
Avatar
Avatar
3
giu 20
5033
Enable/disable import rights?
import csv
Avatar
Avatar
1
nov 18
10502
'utf8' codec can't decode byte error when importing a list of products as a CSV file Risolto
import csv
Avatar
Avatar
Avatar
Avatar
Avatar
11
feb 17
65129
Import contacts through CSV Risolto
import csv
Avatar
Avatar
2
mar 15
12242
Import csv file with related field other than id, external id, name
import csv importing data from excel file
Avatar
Avatar
Avatar
Avatar
4
nov 24
12990
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