diff options
| author | Aaron Bohy <aab@odoo.com> | 2018-08-23 11:15:05 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2018-09-05 08:47:21 +0200 |
| commit | 71254e956d2025bdf13f8906a1a80f24447de373 (patch) | |
| tree | 84ef109dbbd9beb90bcea411f958a034680c7221 /doc/reference/javascript_reference.rst | |
| parent | db9b91ffe684dbc2c7504680daed3238b2c875a4 (diff) | |
[FIX] web: Kanban quick create: prevent multiple creation
Before this rev., if the user clicked several times on 'Add' (or
pressed several times 'Enter'), on a KanbanQuickCreate record,
multiple records were created.
This rev. makes sure that this doesn't happen anymore by locking
the widget when it is creating a record ('create' RPC that might
be preceeded by an 'onchange' RPC).
Several test cases are added, to mock the different scenarios that
could occur, as they are all slightly different (depending on if
there is an onchange or not and if the user clicks on Add or press
Enter).
There is still a scenario that needs to be handled, which is the
one with an onchange and where the user clicks on 'Add'. This one
is more tricky and will be handled by a future commit.
Task 1878254.
Diffstat (limited to 'doc/reference/javascript_reference.rst')
0 files changed, 0 insertions, 0 deletions
