Merge lp:~openerp-dev/openobject-client-web/6.0-opw-591397-xal into lp:openobject-client-web
Status: | Needs review |
---|---|
Proposed branch: | lp:~openerp-dev/openobject-client-web/6.0-opw-591397-xal |
Merge into: | lp:openobject-client-web |
Diff against target: |
121 lines (+25/-15) 4 files modified
addons/openerp/widgets/listgrid.py (+2/-2) addons/openerp/widgets/listgroup.py (+13/-5) addons/openerp/widgets/search.py (+9/-7) addons/openerp/widgets/templates/listgrid/listgroup.mako (+1/-1) |
To merge this branch: | bzr merge lp:~openerp-dev/openobject-client-web/6.0-opw-591397-xal |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
OpenERP Core Team | Pending | ||
Review via email: mp+162727@code.launchpad.net |
Description of the change
Hi,
This fixes multiple things:
- List should not fetch any data in grouped mode - this is handled by Listgroup and MultipleGroup themself (using read_group).
=> This effectively fix some performance problem cause by reading all records (limit = -1 in grouped mode).
- When having 'search_
- When having 'group_by_no_leaf' in context and no grouping criteria the list was showing 'row expand' which is wrong.
Regards,
Xavier
Unmerged revisions
- 4915. By Xavier ALT
-
[FIX] list: prevent List from fetching unnecessary data in grouped mode - this is handled by Listgroup and MultipleGroup themselve
- 4914. By Xavier ALT
-
[FIX] list: when view has 'group_by_no_leaf' in context and no grouping key - the view was badly showing row expand
- 4913. By Xavier ALT
-
[FIX] search view: fix filter no considering user choice when filter is active by default (considering the context)
- If filter is active by default (search_
default_ FILTERNAME) it's domain and
context was wrongly added if user manually uncheck it (search_data = {FILTERNAME: 0}).We now consider filter domain + context depending on 'def_checked' value - which
respect both default value and user choice.