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.

1

Exporting through the web UI doesn't work with special characters

By
Mind And Go
on 10/15/13, 8:09 PM 1,309 views

Hy,

I created this post as a redline for me and other people who could have the same kind of issue.

My problem is when i try to export partners from the Web UI. I selected partners and then click on export. The usual form for listing the fields appears except that it is empty and the following error is thrown :

2013-10-15 21:56:04,307 19041 ERROR upa_dev openerp.addons.web.http.JSONRequest.dispatch: An error occured while handling a json request
Traceback (most recent call last):
  File "/home/florent/DEV/Serveurs/openerp-7.0-series/web/addons/web/http.py", line 204, in dispatch
    response["result"] = method(self, **self.params)
  File "/home/florent/DEV/Serveurs/openerp-7.0-series/web/addons/web/controllers/main.py", line 1479, in get_fields
    key=lambda field: field[1].get('string', ''))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128)

The point is that I add many fields inherited from partner. So one of them could have some problems. It looks like special characters are not accepted in the fields descriptions.

1
Mind And Go
On 10/15/13, 8:12 PM

Well,

That was the point, some fields where described with special french characters. Without this, it works.

Does it must be declared as a bug?

I had the same error using spanish characters, so I do not use these characters any more

Oscar Cascante F
on 10/15/13, 8:14 PM

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: 10/15/13, 8:09 PM
Seen: 1309 times
Last updated: 3/16/15, 8:10 AM