Can't import data with special character

Bug #494858 reported by James Wyson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Odoo Web Client
Fix Released
Undecided
Navrang Oza

Bug Description

Hi,

I'm trying to import partner addresses using version 5.0.7 of the web client. The CSV file I'm trying to import contains the following:

"Contact Name"
"ñ"

The web client import functionality does not work (no records are imported) for the above instance and doesn't produce any error message.

I tried manually inputting the data using the form and it was able to add the record. Another bug I noticed was when I exported the newly created partner address to a csv file, the contact name became "ñ".

Related branches

Changed in openobject-client-web:
assignee: nobody → noz (Tiny) (noz-tiny)
Changed in openobject-client-web:
status: New → Confirmed
Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello,

Please reload your browser cache and try again. Its working fine.
Then i have export data in french like "Créer nouvelle base de données Voulez-vous vraiment supprimer la base de donnée sélectionnée?" and its exported same data no any special character added in csv file.

Thanks.

Changed in openobject-client-web:
status: Confirmed → Invalid
Revision history for this message
James Wyson (jmwyson) wrote :

Hi,

I tried your suggestion of clearing my browser's cache but the import function still doesn't work. No error is presented in the client but when I checked the error.log file of the web client I see the following error message:

UnicodeDecodeError: 'utf8' codec can't decode byte 0xf1 in position 0: unexpected end of data.

The data file I used is attached to this comment. I tried the import functionality in partner addresses.

Changed in openobject-client-web:
status: Invalid → New
Revision history for this message
Sananaz (Open ERP) (sma-tiny) wrote :

Hello James Wyson,

Its Fixed in stable. Please update your code.

Revision Info:
2768 <email address hidden>

Thanks.

Changed in openobject-client-web:
status: New → Fix Committed
Changed in openobject-client-web:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.