← Back to team overview

c2c-oerpscenario team mailing list archive

[Bug 726414] Re: [6.1dev][TRUNK] Can't find if record contains accented characters

 

** Description changed:

  Hi all,
- using GTK Client trunk revno 1829 and server revno 3359, there's a problem searching records which contain accented characters. For example, if I have an user named "Álvaro", I won't be able to find it if I search by name typing "Alvaro" or "ALVARO". In the other hand, I will find it if i type "Álvaro" or "ÁLVARO". This is because following sentence (got from GTK Client traceback):
+ using GTK Client trunk revno 1829 and server revno 3359, there's a problem searching records which contain accented characters. For example, if I have an user named "Álvaro", I won't be able to find it if I search by name typing "Alvaro" or "ALVARO". In the other hand, I will find it if i type "Álvaro" or "ÁLVARO". This is because of following sentence (got from GTK Client traceback):
  
  DEBUG_RPC:rpc.request:('execute', 'xxxxx', 1, '*', (u'res.users',
  'search', [('name', 'ilike', '\xc3\x81LVARO')], 0, 80, False, {'lang':
  u'es_ES', 'project_id': False, 'tz': u'Europe/Madrid', 'active_model':
  'ir.ui.menu', 'department_id': False, 'section_id': False, 'active_ids':
  [35], 'active_id': 35}))
  
  Regards,

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

Title:
  [6.1dev][TRUNK] Can't find if record contains accented characters

Status in OpenERP GTK Client:
  New

Bug description:
  Hi all,
  using GTK Client trunk revno 1829 and server revno 3359, there's a problem searching records which contain accented characters. For example, if I have an user named "Álvaro", I won't be able to find it if I search by name typing "Alvaro" or "ALVARO". In the other hand, I will find it if i type "Álvaro" or "ÁLVARO". This is because of following sentence (got from GTK Client traceback):

  DEBUG_RPC:rpc.request:('execute', 'xxxxx', 1, '*', (u'res.users',
  'search', [('name', 'ilike', '\xc3\x81LVARO')], 0, 80, False, {'lang':
  u'es_ES', 'project_id': False, 'tz': u'Europe/Madrid', 'active_model':
  'ir.ui.menu', 'department_id': False, 'section_id': False,
  'active_ids': [35], 'active_id': 35}))

  Regards,



References