summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/views/basic/basic_model.js
diff options
context:
space:
mode:
authorGéry Debongnie <ged@odoo.com>2017-05-21 09:23:27 +0200
committerGéry Debongnie <ged@odoo.com>2017-05-22 10:07:33 +0200
commit3aad756d32ece364ccbe0953d6acebdbe7581f1c (patch)
treeebc34c894d61f798f953bb9cb3491a84fab2b944 /addons/web/static/src/js/views/basic/basic_model.js
parenta60ae4383575d34d5bfa12b7dd9912d8290b9367 (diff)
[FIX] web: properly handles ESC in editable lists
It is not really easy to handle discard operations. We need to handle the discard in editable lists, and in x2manys. This is not exactly the same code, but most of this was done by moving the discard method from the formcontroller to the basic controller. With this commit, the user can now discard the changes for the current record by pressing ESC. If the record is new, it will remove it, if not, it will ask for confirmation before.
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions