diff options
| author | Julien Mougenot <jum@odoo.com> | 2020-06-25 11:59:14 +0000 |
|---|---|---|
| committer | Julien Mougenot <jum@odoo.com> | 2020-06-30 07:22:12 +0000 |
| commit | c96de07f8593d525dd2992c06add68eb5c2cde8c (patch) | |
| tree | d1b2f2f1466428b0f458da1af02d8a12ace156f4 /addons/web/static/src/js/views/basic/basic_renderer.js | |
| parent | 7e5ae026fd72d6ec0525f2b70820510bc488ec92 (diff) | |
[FIX] web: Allow default favorite filter over search default
Before this commit, when a search_default on a many2one field tried to
update its label after a name_get, the value was set on its initial
associated query element which could have been erased by a default
favorite.
Now, the model determines whether there is a default favorite before
processing default filters, preventing any unnecessary RPC.
closes odoo/odoo#53840
X-original-commit: ff834d0ba6f9b7eadc23c28dbbf892eba2058583
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_renderer.js')
0 files changed, 0 insertions, 0 deletions
