summaryrefslogtreecommitdiff
path: root/addons/base_sparse_field/models/models.py
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2017-05-02 21:39:23 +0200
committerGéry Debongnie <ged@odoo.com>2017-05-03 15:20:16 +0200
commitb38137d498cca39cf0d8a82a2af7a63c12c9bd9a (patch)
tree26f21ff277c2f3fee31918916d93a41ff8064d2b /addons/base_sparse_field/models/models.py
parentc8dfc701bc8b551a92b0af6659ffe9285e1cd788 (diff)
[FIX] web: prevent loss of edits in list view
Before this commit, it was possible to edit something in an editable list view, then press the DOWN key, then enter some other values. With the DOWN key, the focus is supposed to move to the line below, so we save the current line, in the current state. This means that the edit coming after are simply lost (well, just not saved nor displayed). What this commit does is simply disable all control elements in that situation. This prevents uncomfortable situations from occurring.
Diffstat (limited to 'addons/base_sparse_field/models/models.py')
0 files changed, 0 insertions, 0 deletions