diff options
| author | Florent de Labarre <florent.mirieu@gmail.com> | 2017-02-13 17:23:59 +0100 |
|---|---|---|
| committer | Martin Trigaux <mat@odoo.com> | 2017-02-17 14:11:28 +0100 |
| commit | 942d8a2c3f15cf3b4fa902c686d5a4a97685a41b (patch) | |
| tree | e1470df7fd25e8ead38e0ff53b10aa5e7a0bb9f2 /addons/web/static/src/js/views/basic | |
| parent | 731569aed2ef509043c6ffa4aa84e89ff897cde2 (diff) | |
[FIX] product: complete name_search
The name_search was not working properly if limit=None is specified (e.g.
searching for the search bar on a many2one field to product.template).
As `any int > None` is true, the condition is always validated as soon as the
search returns at least one result.
The product.product search has no limit parameter and use the default 100.
If the 100 first products have only a few templates (a lot of variants), the
result will be incomplete as stopping after the first iteration.
Closes #15477
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
