← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 695960] Re: [6.0RC1][hr_timesheet]Problems printing timesheet reports

 

Hello,

It has been fixed into https://code.launchpad.net/~openerp-dev/openobject-server/ysa-trunk-server/ branch by:
Revision ID: ysa@xxxxxxxxxxx-20110104100059-55eydjnmtd22saed
Revno: 3206

Thanks.


** Changed in: openobject-server
       Status: In Progress => Fix Released

-- 
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 Server:
  Fix Released

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