c2c-oerpscenario team mailing list archive
-
c2c-oerpscenario team
-
Mailing list archive
-
Message #17736
[Bug 726414] [NEW] [6.1dev][TRUNK] Can't find if record contains accented characters
Public bug reported:
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,
** Affects: openobject-client
Importance: Undecided
Status: New
** Tags: openerp-client openobject-client openobject-server
--
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,
Follow ups
References