summaryrefslogtreecommitdiff
path: root/addons/web/static/src/less/fields.less
diff options
context:
space:
mode:
authorAaron Bohy <aab@odoo.com>2017-06-13 15:18:27 +0200
committerAaron Bohy <aab@odoo.com>2017-06-14 10:15:37 +0200
commita3bea9a62bdaf205c0a9cd75945f6f6e9b023d6d (patch)
tree568a0596438b3c96e2492d3fb870a8691ca74702 /addons/web/static/src/less/fields.less
parent70624772b2dd6a885a9cc8578e0e451063e18ad4 (diff)
[FIX] web: Form: delete the correct record
When the user duplicated a record 'A', and deleted the new record 'A (copy)' directly, the wrong record was deleted: 'A' was deleted instead of 'A (copy)', because de id of 'A' was bound to the delete handler, and it wasn't updated after the duplication. Also correctly updates the record's offset after the deletion, so that it doesn't produce a warning when deleting the last record of the dataset.
Diffstat (limited to 'addons/web/static/src/less/fields.less')
0 files changed, 0 insertions, 0 deletions