diff options
| author | Raphael Collet <rco@openerp.com> | 2016-04-29 11:18:49 +0200 |
|---|---|---|
| committer | Raphael Collet <rco@openerp.com> | 2016-04-29 15:48:19 +0200 |
| commit | ba5f5614f334ddf169de782f12a16f5ed5e424f6 (patch) | |
| tree | 974cc281e6a6fbc7c18364f729ae61220b2e9391 /addons/web/static/src/js/framework/data.js | |
| parent | 233c7780e69fec1453da8eaa297d4999437a2e91 (diff) | |
[FIX] expression: fix missing results in direct search on many2many fields
This case corresponds to searches like `[(field, 'ilike', name)]` where `field`
is a many2many field. The domain processing performs a `name_search` on the
field's comodel, then makes the relation match the returned record ids.
Problem: the call to `name_search` uses the default limit (100), and this makes
the search return less results than expected. Make the search complete by
forcing `limit=None`.
Diffstat (limited to 'addons/web/static/src/js/framework/data.js')
0 files changed, 0 insertions, 0 deletions
