diff options
| author | Julien Mougenot <jum@odoo.com> | 2020-08-04 14:00:26 +0000 |
|---|---|---|
| committer | Julien Mougenot <jum@odoo.com> | 2020-08-04 14:04:56 +0000 |
| commit | 3178fb21b4eb28dea5b81310e7c22425d519e698 (patch) | |
| tree | f6505835c1ab9445b75aab8f388079cbf745ab58 /addons/web_editor/static/src/js/common/utils.js | |
| parent | 71289ea81909abc6d2200f11d1eb5b3a3bc37704 (diff) | |
[FIX] web: Deep copy state exported by search panel
Having maps in its state, the search panel has to serialise its state
before sending it via exportState. Before this commit, this was done
on the state object in place, causing issues if the model was restored
without an imported state (no re-serialisation hence having a wrong
state).
Now, the exported object is deep-copied from the original state.
Task 2312131
closes odoo/odoo#55393
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'addons/web_editor/static/src/js/common/utils.js')
0 files changed, 0 insertions, 0 deletions
