Code review comment for lp:~openerp-dev/openerp-web/7.0-opw-589782-cbi

Revision history for this message
Chris Biersbach (OpenERP) (cbi-openerp) wrote :

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)

« Back to merge proposal