← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 710558] Re: [6.0.1] Project: Ascii bug when delegating a task

 

** Branch linked: lp:~openerp-dev/openobject-addons/trunk-dev-
addons1-atp

-- 
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/710558

Title:
  [6.0.1] Project: Ascii bug when delegating a task

Status in OpenERP Modules (addons):
  Fix Released

Bug description:
  Hello,

  Ubuntu 10.10 / user connected to OpenERP DB connected in language
  en_us

  I defined a task in French with special caracter "é": "Préparation
  meeting RDW".

  I decided to delegate this task so the system generates a validation
  task called "CHECK: Préparation meeting RDW".

  I decided then to delegate again this check task on a second person
  and I had the following bug report (issue on the Ascii caracter "é" on
  position 9):

  Codename:	maverick
  Operating System Release : 2.6.35-24-generic
  Operating System Version : #42-Ubuntu SMP Thu Dec 2 01:41:57 UTC 2010
  Operating System Architecture : 32bit
  Operating System Locale : en_US.UTF8
  Python Version : 2.6.6
  OpenERP-Client Version : 6.0.1
  Last revision No. & ID :1798 launchpad_translations_on_behalf_of_openerp-20110127054410-pml9b9pejryjg3jk
  Traceback (most recent call last):
    File "/home/bernard/v6/server/bin/netsvc.py", line 489, in dispatch
      result = ExportService.getService(service_name).dispatch(method, auth, params)
    File "/home/bernard/v6/server/bin/service/web_services.py", line 599, in dispatch
      res = fn(db, uid, *params)
    File "/home/bernard/v6/server/bin/osv/osv.py", line 122, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/bernard/v6/server/bin/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/bernard/v6/server/bin/osv/osv.py", line 167, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/bernard/v6/server/bin/addons/project/wizard/project_task_delegate.py", line 56, in default_get
      newname = str(task_name).replace(_('CHECK: '), '')
  UnicodeEncodeError: 'ascii' codec can't encode character u'\xe9' in position 9: ordinal not in range(128)

  Regards,

  Bernard





References