summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorKhoi Nguyen <bng@odoo.com>2017-07-13 17:40:35 +0200
committerKhoi Nguyen <bng@odoo.com>2017-07-14 10:35:35 +0200
commitf2c7e44efe4e2bcdc9c77c66dbd56b8b4cc397b2 (patch)
tree8c96109442c3670873be528d051dd446c4c32f18 /setup.py
parenta562f5ced1c61d2ac3854a17d193beda4d64b5e1 (diff)
[FIX] web: no M2ODialog when pressing enter in a many2one
Before this revision, pressing ENTER when inside a many2one field triggers a 'focus out' event. In particular, if one creates a many2one record and uses the ENTER key to click "Create and Edit", two dialog windows appear: one to actually create the associated record, and a second to alert the user that they are creating an associated record. The latter appears every time the many2one field loses focus. This commit changes the 'key up' event for many2one fields to ensure that the ENTER key does not trigger a 'focus out' event.
Diffstat (limited to 'setup.py')
0 files changed, 0 insertions, 0 deletions