_title_get selection in base_contact doesn't work for non western languages

Bug #595437 reported by Goran Cvijanović
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo Addons (MOVED TO GITHUB)
Status tracked in Trunk
5.0
Confirmed
Low
Jay Vora (Serpent Consulting Services)
Trunk
Fix Released
Undecided
Unassigned

Bug Description

When you have entries with accent char for "shortcut" field in res_partner_title table,
adding record for contact is not possible, got error of not existing data in selection.

The problem is with special chars in relation field (in this case it is "shortcut" field)
which doesn't exist in western alphabet. (I don't know if it is same issue with Spanish language).

Example is : [ name,shortcut,domain : "ing.građ.","ing.građ.","contact" ]

You can always test with € (Eur) sign, because it is represented like in non western char set,
or just copy my example with special sign in field.

The workaround is to convert accented chars in "shortcut" field to non accented ('đ' -> 'd')
but it is not always possible.

g.c.

Revision history for this message
JMA(Open ERP) (jma-openerp) wrote :

Hello Goranc,

I installed base_contact and checked it with the "€" sign, even with the accent chars(è,à).
The "shortcut" field behaves perfectly.There seems to be no problem.

However, could you please provide few more details regarding the steps you follow and the system configuration you are using. Also, a screen-shot would do needful.

Thank you.

Revision history for this message
Goran Cvijanović (goranc) wrote :

Here are some more details about the problem with some special chars in Croatian alphabet.

The scenario can be:
- open Partners->configuration->Titles tree screen
- select all titles (generated by default install) and delete it
- use attached file contact_titles.csv and import it using import functionality on Titles tree screen
- after successful import open Partners->Contacts tree screen and press new button to create new record
- enter some name for mandatory field, and select one of listed titles
- press save button

After that you got error like -> [ The value "<one_title_from_list>" for the field "title" is not in the ]

Here are some data for titles and screens describing procedure and error.

Regards,

g.c.

Revision history for this message
Goran Cvijanović (goranc) wrote :
Revision history for this message
Goran Cvijanović (goranc) wrote :
Revision history for this message
Goran Cvijanović (goranc) wrote :
Revision history for this message
Goran Cvijanović (goranc) wrote :

I have installed OpenERP 5.0.11 from 5.0 stable
on Ubuntu 8.04.4 server with en_US.UTF-8 locale
and Python 2.5 as standard for Ubuntu 8.04

Changed in openobject-addons:
status: New → Triaged
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.