summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_controller.js
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2017-05-12 11:34:51 +0200
committerMartin Geubelle <mge@odoo.com>2017-05-15 14:55:21 +0200
commit2fb4cf46d23149aabbc1a03791d27430fc6b9ce1 (patch)
treef4aee3ed4be6c10fc606017c23115afabb830252 /addons/web/static/src/js/views/basic/basic_controller.js
parentfeb4a8986d3aed2643832a8094caf9bf26fc69b6 (diff)
[FIX] web: Kanban: correctly destroy old widget after update
The attribute `widgets` has been renamed in rev https://github.com/odoo/odoo/commit/7ff8aa73e17b281b3e2bc4c7275d020eab0204e7#commitcomment-22116249 However, KanbanRenderer still uses a `widgets` attribute, not for the fields widgets but for its columns (or records if ungrouped). These widgets weren't correctly destroyed since then. This was causing an issue when you were trying to quick create a record after a column creation (that generates an update): the quick create was added in the first old column (which was not in the DOM anymore) so you couldn't see it.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_controller.js')
0 files changed, 0 insertions, 0 deletions