Skip to Content
Menu
This question has been flagged
1 Atsakyti
3983 Rodiniai

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.

Portretas
Atmesti
Autorius Best Answer

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?

Portretas
Atmesti

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