summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/fields/relational_fields.js
diff options
context:
space:
mode:
authorJulien Mougenot <jum@odoo.com>2019-09-06 09:58:34 +0000
committerAaron Bohy <aab@odoo.com>2019-09-18 06:11:03 +0000
commit8c6de8c452804094da17ac9e77c6f2b7b047dc29 (patch)
tree8b1fc62dc9492ead5bbe9b227dcacd107727f292 /addons/web/static/src/js/fields/relational_fields.js
parentfc52cae0349ae660cd5313710f918494efda0322 (diff)
[FIX] web: list: clicking discard doesn't trigger an onFieldChange
Fixes the way records are discarded in list views Before this commit, clicking the "Discard changes" button in a list view after editing a record triggered both the "field changed" and the "discard changes" methods (resulting in 2 modals opening). Now, all fieldChanges are prevented when trying to click "Discard changes", and are re-applied if the click was unsuccessful (lifted left mouse button somewhere else). Task 2068280
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions