Model data translation window returns lang=False for en_US

Bug #590659 reported by Numérigraphe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Odoo GTK Client (MOVED TO GITHUB)
Status tracked in Trunk
Trunk
Fix Released
Low
OpenERP sa GTK client R&D

Bug Description

When you translate a field using the 5.0 GTK client, it will make a read call for each language while varying the 'lang' entry in the context.
At this stage a special case is made of 'en_US', and lang=False is sent instead.
This is useless because the server will work properly with lang='en_US'.
Removing this special case would make it easier for me to to add the feature i described in Bug #400256.
Lionel

Tags: refactoring

Related branches

Changed in openobject-client:
status: New → In Progress
status: In Progress → Fix Committed
Revision history for this message
Numérigraphe (numerigraphe) wrote :

I pushed a tentative fix in revision <email address hidden> in lp:~numerigraphe/openobject-client/main-lang-5.0.
Lionel

description: updated
Revision history for this message
Numérigraphe (numerigraphe) wrote :

I've submitted lp:~numerigraphe/openobject-client/config-original-language-trunk for merging, please review.
Lionel

summary: - Model data translation window returns lang=False for default language
+ Model data translation window returns lang=False for en_US
tfr (Openerp) (tfr)
Changed in openobject-client:
assignee: nobody → OpenERP sa GTK client R&D (openerp-dev-gtk)
tags: added: refactoring
Changed in openobject-client:
status: Fix Committed → Fix Released
Changed in openobject-client:
status: Fix Released → Fix Committed
tfr (Openerp) (tfr)
Changed in openobject-client:
importance: Undecided → Low
Revision history for this message
Naresh(OpenERP) (nch-openerp) wrote :

hello Numérigraphe,

Thanks for the merge proposal, it has been improved at lp:~openerp-dev/openobject-client/trunk-dev-client with revision-info as 1405 <email address hidden> authored to you and will be soon merged to the trunk client.

Thanks,

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.