summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields
diff options
context:
space:
mode:
authorMartin Geubelle <mge@odoo.com>2017-06-16 11:04:37 +0200
committerMartin Geubelle <mge@odoo.com>2017-06-19 16:47:33 +0200
commit21fca784dccd39024da0725c7296f43fc1870017 (patch)
tree95b679f70b4b27e671d2122a88e2f2121a648729 /addons/web/static/src/js/fields
parentcaa4cd2063cf5bbfc64731c830217cf14407f37d (diff)
[FIX] web: Kanban: avoid ghost records when moving record
In an empty kanban view, when moving a freshly created record from the second column to the first one, then moving it back again in to the first one, the record was mysteriously duplicated. When moving the record, it should be removed from the old column. In this case, the second column was not found (and thus the record not removed) because the iteration was on `parent.count` (which is the count of records in this datapoint (1 in our case)) and not parent.data.length (the number of columns).
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions