Merge lp://staging/~numerigraphe/openobject-client/6.x-o2m-focus-reset into lp://staging/openobject-client
Proposed by
Numérigraphe
Status: | Needs review |
---|---|
Proposed branch: | lp://staging/~numerigraphe/openobject-client/6.x-o2m-focus-reset |
Merge into: | lp://staging/openobject-client |
Diff against target: |
68 lines (+19/-3) 4 files modified
bin/widget/model/record.py (+1/-1) bin/widget/screen/screen.py (+2/-2) bin/widget/view/form_gtk/one2many_list.py (+1/-0) bin/widget/view/list.py (+15/-0) |
To merge this branch: | bzr merge lp://staging/~numerigraphe/openobject-client/6.x-o2m-focus-reset |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP sa GTK client R&D | Pending | ||
Review via email: mp+138148@code.staging.launchpad.net |
Description of the change
If you perform an action on a form requiring it to reload (for example click a button), every o2m widget is reset to its first record.
This branch fixes this by setting the focus back to the previously selected record after reloading.
The patches were developed in private as part of our paid support agreement, but we're willing to have them publicly available.
Lionel Sausin.
To post a comment you must log in.
Unmerged revisions
- 1792. By Chris Biersbach (OpenERP)
-
[FIX] Fix latest improvement in cases where the o2m field has more lines than can be displayed at once
- 1791. By Chris Biersbach (OpenERP)
-
[IMP] Keep the current selection in o2m tree views when parent record is reloaded
- 1790. By Chris Biersbach (OpenERP)
-
[IMP] Keep the current selection in o2m forms when parent record is reloaded