diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-05-10 10:44:59 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-05-10 11:10:38 +0200 |
| commit | e4e2735e87e98300bce99d51c775cee71f2f58cf (patch) | |
| tree | 226972e7acf419f3372b164e27612a45a57c9ea6 /doc | |
| parent | 4e205b7549eff17b405a4308b2c87668ca42b3c8 (diff) | |
[FIX] web_kanban: traceback when quickly drag&dropping
... records on models having a sequence field (e.g. project.task).
When a record is dragged and dropped, the following RPCs are done:
- write (the new group id on the moved record)
- read (the moved record)
- resequence (the column where the record has been moved to)
To perform the resequence RPC, we need to retrieve the list of ids
of the records being in the column. We do that by iterating over
the cards in the column and reading the id in their data attribute.
However, a traceback might occur if the resequence was triggered
exactly when the user was holding a record over the column being
resequenced, because jquery-ui creates a placeholder for the record
being dragged and dropped, and this placeholder doesn't have the
required data attribute.
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions
