diff options
| author | Juhil Somaiya <jso@odoo.com> | 2019-08-28 12:04:38 +0000 |
|---|---|---|
| committer | Juhil Somaiya <jso@odoo.com> | 2019-08-28 12:04:59 +0000 |
| commit | d1ee54450aff9f260c98960636795387b4256b3b (patch) | |
| tree | 2725efebe12f293382060822dbf030027d951488 /doc/reference/javascript_reference.rst | |
| parent | e9837fcc09a7113d100d709fc6128de80d8bcb0b (diff) | |
[FIX] web: dashboard_graph disappearing issue on kanban record reload
When we try to change the color of kanban, the kanban record is re-renders,
kanban record is replaced with kanban-box and subWidgets are re-rendered,
reset of all subWidgets are called which will re-render widget but it is not
rendered in DOM as DOM element is destroyed and hence dashboard_graph widget
can not computed proper height of the canvas element and disappear
Call on_attach_callback after widget reset is called on kanban record, as widget
element is removed from DOM and new element is added in DOM so
on_attach_callback should be called again.
task-2036256
closes odoo/odoo#35254
Signed-off-by: Aaron Bohy (aab) <aab@odoo.com>
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
