[RC2] Report with notes containt accent doesn't appear
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Server (MOVED TO GITHUB) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Server revno : 1522
Addons revno : 2054
on object containt a note field (purchase order, sale order, etc...) use word with accent é è (or word in french) the report is generate but the note is missing and an error message appear on server log
-------
[Tue Dec 30 2008 10:21:41] ERROR:report:[01]: report sale.order:
[Tue Dec 30 2008 10:21:41] ERROR:report:[02]: Traceback (most recent call last):
[Tue Dec 30 2008 10:21:41] ERROR:report:[03]: File "/home/
[Tue Dec 30 2008 10:21:41] ERROR:report:[04]: res = eval(expr, self.localcontext)
[Tue Dec 30 2008 10:21:41] ERROR:report:[05]: File "<string>", line 1, in <module>
[Tue Dec 30 2008 10:21:41] ERROR:report:[06]: File "/home/
[Tue Dec 30 2008 10:21:41] ERROR:report:[07]: newnode.
[Tue Dec 30 2008 10:21:41] ERROR:report:[08]: File "/usr/lib/
[Tue Dec 30 2008 10:21:41] ERROR:report:[09]: return codecs.
[Tue Dec 30 2008 10:21:41] ERROR:report:[10]: UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 1: ordinal not in range(128)
-------
When the note doesn't containt an accent, it appear correctly,
I think the problem is the same as bug #307908 and #308910 , and the problem was not on the module, but in orm
I haven't test to send the command below after the database connection
SET client_encoding to 'UTF8';
Regards,
Christophe.
Related branches
description: | updated |
Changed in openobject-server: | |
status: | New → Fix Released |