Model data translation window returns lang=False for en_US
Bug #590659 reported by
Numérigraphe
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
Related branches
lp:~numerigraphe/openobject-client/trunk-config-original-language
- Naresh(OpenERP): Approve
-
Diff: 150 lines (+34/-33)1 file modifiedbin/widget/view/form_gtk/parser.py (+34/-33)
lp:~openerp-dev/openobject-client/trunk-dev-client
- OpenERP sa GTK client R&D: Pending requested
-
Diff: 271 lines (+46/-25)10 files modifiedbin/modules/gui/main.py (+4/-2)
bin/modules/gui/window/win_import.py (+13/-4)
bin/openerp-client.py (+2/-0)
bin/openerp.glade (+2/-0)
bin/widget/model/field.py (+1/-1)
bin/widget/screen/screen.py (+1/-1)
bin/widget/view/calendar_gtk/parser.py (+3/-2)
bin/widget/view/form_gtk/reference.py (+1/-1)
bin/widget/view/list.py (+16/-9)
bin/widget_search/selection.py (+3/-5)
Changed in openobject-client: | |
status: | New → In Progress |
status: | In Progress → Fix Committed |
description: | updated |
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 |
Changed in openobject-client: | |
importance: | Undecided → Low |
To post a comment you must log in.
I pushed a tentative fix in revision <email address hidden> in lp:~numerigraphe/openobject-client/main-lang-5.0.
Lionel