diff options
| author | Odoo's Mergebot <robodoo@odoo.com> | 2020-08-04 15:40:10 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-04 15:40:10 +0200 |
| commit | 82a25bf91675912086a970dd1817afe32ad2ab40 (patch) | |
| tree | 5c2db53a8cb2bab5cb8459ba5ef42d3c4b0cef64 /doc/python3.rst | |
| parent | 918ccf5b0eb6b8e6f8d789f204bc3ce4134b797f (diff) | |
| parent | 2524c7aaace5ce314eace5517285bf13586fb176 (diff) | |
[MERGE] web,lunch: searchpanel: stop storing active categories
Three major changes are introduced in this PR:
1. The loading of the action model extensions has been split:
- when calling load, a first promise is returned. It is meant to be
resolved as soon as all the query informations are available.
- a second promise returned by a new method "isReady" is resolved when
all of the extension data have been fetched.
This difference allows to not wait for server calls irrelevant for the
query. By default "isReady" will always wait for a full load call, but
this is meant to be overridden in case optimisations can be made.
2. The local storage logic of the search panel has been moved into the
documents module.
3. Point 2. allows for a variety of optimisations now that we do not have
to constantly wait for a potential default value hidden in the storage.
This is why this PR also introduces a way for the search panel model
extension to sometimes return its query informations sooner than after
being completely loaded.
Enterprise PR: https://github.com/odoo/enterprise/pull/12067
closes odoo/odoo#55049
Task: 2284207
Related: odoo/enterprise#12067
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'doc/python3.rst')
0 files changed, 0 insertions, 0 deletions
