I have created a MERGE requests that contains the most minimal changes to fix the sorting issue. I will submit a second merge request, that will correct (in my opinion it will be a correction) the selection as well, by not searching the original language field.
I think I have also laid the ground work for a much more efficient reading of translated values. A soon as I find the time this will become part of a third merge request. I include a test script that I used to develop the translation methods used. ** Attachment added: "orm_translation.py" https://bugs.launchpad.net/openobject-server/+bug/645980/+attachment/3418562/+files/orm_translation.py -- You received this bug notification because you are a member of OpenERP Indian Team, which is subscribed to OpenERP Server. https://bugs.launchpad.net/bugs/645980 Title: Search() should match the sort order of the context language Status in OpenERP Server: Confirmed Bug description: In tree form, suppose you have a column with translated terms. For example : Draft > Brouillon Closed > Clôturé Open > Ouvert If, in french interface, we order list items by this values, the order take only the english term to order the lines, so we have first : "Clôturé" second : "Brouillon" third : "Ouvert" confusing in french... To manage notifications about this bug go to: https://bugs.launchpad.net/openobject-server/+bug/645980/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~openerp-india Post to : [email protected] Unsubscribe : https://launchpad.net/~openerp-india More help : https://help.launchpad.net/ListHelp

