diff options
| author | Aaron Bohy <aab@odoo.com> | 2019-03-14 20:15:13 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2019-03-15 07:35:21 +0000 |
| commit | 9a8f59a674c8e545cdf653e6144dad565db86da3 (patch) | |
| tree | 0306040d8ef2312ea0c0316f0a1ae42890e0c9d4 /addons/website/static/src/js/widgets | |
| parent | b9da1755747c6fc791ae81d04e79fb3ae7642c64 (diff) | |
[FIX] web: update domain when switching between views
Let's assume the following scenario on an action with two multi
records views (e.g. kanban and list). In the kanban view, activate
a domain or groupby, switch to list view, remove the domain or
groupby, switch back to kanban: the domain or groupby is still
applied (even though it's no longer displayed in the search view).
This is due to the jQuery update (ab56e637b7f9) and the use of
native Promises (always async) instead of old jQuery 1.11 Deferreds
(which where sync when already resolved). In the new version, the
domain/context/groupby were added to the params a 'tick too late',
so the view was updated without that information (and thus the old
domain/context/groupby were kept).
Issue reported on the jquery update pad.
closes odoo/odoo#31859
Signed-off-by: VincentSchippefilt <VincentSchippefilt@users.noreply.github.com>
Diffstat (limited to 'addons/website/static/src/js/widgets')
0 files changed, 0 insertions, 0 deletions
