Merge lp:~openerp-dev/openerp-web/7.0-opw-589782-cbi into lp:openerp-web/7.0
Proposed by
Chris Biersbach (OpenERP)
Status: | Rejected |
---|---|
Rejected by: | Xavier (Open ERP) |
Proposed branch: | lp:~openerp-dev/openerp-web/7.0-opw-589782-cbi |
Merge into: | lp:openerp-web/7.0 |
Diff against target: |
21 lines (+2/-2) 1 file modified
addons/web/static/src/js/view_form.js (+2/-2) |
To merge this branch: | bzr merge lp:~openerp-dev/openerp-web/7.0-opw-589782-cbi |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Xavier (Open ERP) (community) | Needs Fixing | ||
Csaba TOTH (community) | Disapprove | ||
Review via email: mp+153147@code.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 3840. By Chris Biersbach (OpenERP)
-
[FIX] web: I corrected the limit in the CompletionField
Mixin to 8 instead of 7 so that actually 8 entries appear (instead of 7). This was caused by an incorrect use of the slice method, which does not include the upper bound.
The issue: A maximum of 7 entries appear in o2m fields (it should be 8)
The reason: The limit was set to 7, the search was done with limit+1 (8).
The results were then sliced (0 to 7 NOT included) -> 7 results
The fix: I changed the limit o 8, the search to limit and now the slice actually behaves the way we want (8 entries)