Merge lp://staging/~openerp-dev/openobject-client-web/6.0-opw-584956-xal into lp://staging/openobject-client-web

Proposed by Xavier ALT
Status: Needs review
Proposed branch: lp://staging/~openerp-dev/openobject-client-web/6.0-opw-584956-xal
Merge into: lp://staging/openobject-client-web
Diff against target: 82 lines (+25/-7)
4 files modified
addons/openerp/controllers/actions.py (+8/-1)
addons/openerp/controllers/form.py (+0/-1)
addons/openerp/widgets/listgrid.py (+13/-5)
addons/openerp/widgets/screen.py (+4/-0)
To merge this branch: bzr merge lp://staging/~openerp-dev/openobject-client-web/6.0-opw-584956-xal
Reviewer Review Type Date Requested Status
OpenERP Core Team Pending
Review via email: mp+145338@code.staging.launchpad.net

Description of the change

Hi,

This fix some problems (traceback + wrong items shown) with list view pagination when tree arch have an explicit limit set on it.

Steps:
1. Go to Accounting > Configuration > Financial Accounting > Accounts > Accounts
2. Go to Actions menu and use "Manage View"
3. Edit the current view and set limit of tree tag to 50
4. Close the Manage Views
5. Relaunch Accounts view => the 50 first items are shown
6. Change limit to 100 => nothing happens. You have 50 items shown.
7. Click to have next items => system shown "101-150" and you "lost" some items
8. Change limit to "unlimited" and click to see next items => A let me fix appears

Regards,
Xavier

To post a comment you must log in.

Unmerged revisions

4900. By Xavier ALT

[FIX] web: fix list limit inconsistensy between screen and tree view if 'limit' attribute is specified on tree view

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
The diff is not available at this time. You can reload the page or download it.