Merge lp:~openerp-dev/openobject-client-web/6.0-opw-383575-msh into lp:openobject-client-web
Status: | Merged |
---|---|
Merged at revision: | 4776 |
Proposed branch: | lp:~openerp-dev/openobject-client-web/6.0-opw-383575-msh |
Merge into: | lp:openobject-client-web |
Diff against target: |
40 lines (+11/-5) 1 file modified
addons/openerp/widgets/form/_o2m.py (+11/-5) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-client-web/6.0-opw-383575-msh |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+92917@code.launchpad.net |
Description of the change
Hello,
Fixed the issue of one2many pager which ignores pager count when sorting also the one2many reads all the records even though limit set to 20 or 50.
Case 383575
Demo :- When one2many of any form view is loaded, it will read all the ids even though I have set limit=20 or 50.
For e.g.
if have 400 records and set the limit to 50, 50 records are
shown, but the web client reads 400 records from the server !
Case 383574
Demo:- Open any form view in which there is one2many field, now sort the one2many field by header label, here the pager is stop to working.
say if I have 55 records and limit=50, now I sort it by header label, you will see the pager will stop to work or it will show wrong counter.
Changed the code in _o2m so that both the issue fixed.
Thanks.