c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #12370
[Bug 695960] Re: [6.0RC1][hr_timesheet]Problems printing timesheet reports
** Changed in: openobject-addons
Status: Confirmed => In Progress
--
You received this bug notification because you are a member of C2C
OERPScenario, which is subscribed to the OpenERP Project Group.
https://bugs.launchpad.net/bugs/695960
Title:
[6.0RC1][hr_timesheet]Problems printing timesheet reports
Status in OpenObject Addons Modules:
In Progress
Bug description:
Hi community,
Using following revisions of 6.0RC1 branch:
server: 3163 (12/28/2010)
gtk: 1738 (12/28/2010)
addons: 4033 (12/28/2010)
I got following error trying to print an employee timesheet:
[2010-12-31 12:33:46,443][XXX] ERROR:web-services:[07]: File "/opt/openerp/6.0/trunk/server/bin/addons/hr_timesheet/report/users_timesheet.py", line 114, in create_xml
[2010-12-31 12:33:46,443][XXX] ERROR:web-services:[08]: ''' % (header_xml,date_xml, emp_xml)
[2010-12-31 12:33:46,444][XXX] ERROR:web-services:[09]: UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 41: ordinal not in range(128)
This is because the employee I selected have accents in his name and/or surname. Same happening in 'Employees Timesheet' report.
I attach proposal patch.
Regards and best wishes for 2011!
References