Odoo Help

Welcome!

This community is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

0

UnicodeDecodeError - HR module export to .csv

By
kristian
on 12/21/13, 11:44 AM 1,661 views

I'm presenting this error when trying to export the employees from the HR module:

OpenERP WebClient Error
Client Traceback (most recent call last):
File "/usr/lib/pymodules/python2.7/openerp/addons/web/http.py", line 204, in dispatch
response["result"] = method(self, **self.params)
File "/usr/lib/pymodules/python2.7/openerp/addons/web/controllers/main.py", line 1480, in get_fields
key=lambda field: field[1].get('string', ''))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 13: ordinal not in range(128)

Already allowed users to import/export data in csv. On setting page...

Anyone can shed some light on this? I really need to make a backup :(

Thanks in advance

0
kristian
On 12/21/13, 12:18 PM

Solved, it was an accent on 'e' in a modification i made, regardless of the -- utf - 8 -- statement on the .py file.

Thanks!

Your Answer

Please try to give a substantial answer. If you wanted to comment on the question or answer, just use the commenting tool. Please remember that you can always revise your answers - no need to answer the same question twice. Also, please don't forget to vote - it really helps to select the best questions and answers!

About This Community

This community is for professionals and enthusiasts of our products and services. Read Guidelines

Question tools

0 follower(s)

Stats

Asked: 12/21/13, 11:44 AM
Seen: 1661 times
Last updated: 3/16/15, 8:10 AM