← Back to team overview

c2c-oerpscenario team mailing list archive

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

 

Hello Alberto Luengo Cabanillas,

I have fixed the problem in lp:~openerp-commiter/openobject-addons
/trunk-dev-addons3-ara branch, It will be merged soon with trunk-dev-
addons3.

Revision No: ara@xxxxxxxxxxx-20110117090955-ofb3iiabb99e3zqt
Revision ID: 4660

Thank you,
ara


** Changed in: openobject-addons
       Status: In Progress => Fix Committed

-- 
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:
  Fix Committed

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