diff options
| author | Nicolas Lempereur <nle@odoo.com> | 2017-05-04 14:22:04 +0200 |
|---|---|---|
| committer | Nicolas Lempereur <nle@odoo.com> | 2017-05-05 13:31:11 +0200 |
| commit | 89ad23bc2d2a1c6f2f0f0e80817a575353708631 (patch) | |
| tree | 1ff46e035d9b1f7c1e613728a5a7152804179303 /doc/reference/forms | |
| parent | d7afa841690d48e61421581033844deb2ee1555a (diff) | |
[FIX] web: auto_search false and search view
By default auto_search is set to `True` on window actions, this mean
that for example on a list or kanban view the records will be searched
on the view opening without any user action needed.
Setting it to `False` disable this.
Doing this had two drawbacks:
- depending on race condition, the view could be displayed before the
search view was loaded,
- the code expected `active_search` to be present which was not the case
in this instance.
Before 151c9074 the second issue would not happen (active_search was set
directly resolved if a search was not to be done) and this commit also
wait for the search view being ready before showing the view.
opw-741186
opw-741546
closes #16805
Diffstat (limited to 'doc/reference/forms')
0 files changed, 0 insertions, 0 deletions
