[report] (trunk) reports cannot be printed if name contains non latin charachter
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Odoo Web (MOVED TO GITHUB) |
Fix Released
|
Medium
|
OpenERP R&D Web Team |
Bug Description
It is not possible to print any report, if report name contains non latin-1 character.
How to reproduce:
1. Switch user interface to some non-latin language.
2. Find a report with non-latin character in name.
3. Print it.
Traceback (most recent call last):
File "/usr/lib/
execute(app)
File "/usr/lib/
application
File "/home/
return application_
File "/home/
result = handler(environ, start_response)
File "/home/
return self.dispatch(
File "/home/
return self.app(environ, start_wrapped)
File "/usr/lib/
return self.app(environ, start_response)
File "/home/
return response(environ, start_response)
File "/usr/lib/
app_iter, status, headers = self.get_
File "/usr/lib/
return app_iter, self.status, headers.to_list()
File "/usr/lib/
for k, v in self]
UnicodeEncodeError: 'latin-1' codec can't encode character u'\u0105' in position 23: ordinal not in range(256)
openobject-server revno: 4516
openobject-addons revno: 7886
openerp-web revno: 3328
Related branches
- Xavier (Open ERP) (community): Approve
- Nicolas Vanhoren (OpenERP): Pending requested
-
Diff: 93 lines (+21/-17)1 file modifiedaddons/web/controllers/main.py (+21/-17)
affects: | openobject-server → openerp-web |
Changed in openerp-web: | |
status: | Confirmed → Fix Committed |
summary: |
- [trunk] reports cannot be printed if name contains non latin charachter + [report] (trunk) reports cannot be printed if name contains non latin + charachter |
Hello Giedrius,
I have checked your Issue with latest trunk,
(Build 23654)
server : 4520
addons : 7898
web : 3331.
I did not faced any error while print report with non-latin character. but I have faced the another problem in generated report. So would you please check it again with latest revision and notify us where you have faced the problem.
Thanks and waiting for your reply!