diff options
| author | jvm-odoo <jvm@odoo.com> | 2020-04-17 06:53:08 +0000 |
|---|---|---|
| committer | jvm-odoo <jvm@odoo.com> | 2020-04-17 16:24:38 +0000 |
| commit | 0028cf7174d903584b3cedb7d9adf480735632f6 (patch) | |
| tree | 971ee58d5bbfc9010d6df0ce55bc3745c01f70f7 /addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js | |
| parent | e7b98b811c9b6668012108ab0bbe5b84e9c0101d (diff) | |
[FIX] board: fix creating wrong controllers
Issue
- Install Dashboard & Sales
- Add a graph & a list to the dashboard
- Go in the dashboard
Rendering ok
- Click on a list item
- Go back with the breadcrumb
Traceback
Cause
When going back with the breadcrumb
we retrieve the previous view controller.
https://github.com/odoo/odoo/blob/9400059073d7401789eb1a60d6a0ec6f58dfc66b/addons/web/static/src/js/chrome/action_manager_act_window.js#L457
By restoring the board controller, we
restore all the subcontrollers too.
But the actual board renderer is re-creating
controllers. This creates inconsistencies
with the view.
Solution
Remove the restored controllers
OPW-2232713
closes odoo/odoo#49728
X-original-commit: 4f3d818052d689da762d8afbf1789daaa3d39821
Signed-off-by: Jason Van Malder (jvm) <jvm@odoo.com>
Diffstat (limited to 'addons/web/static/lib/jquery.mjs.nestedSortable/jquery.mjs.nestedSortable.js')
0 files changed, 0 insertions, 0 deletions
