diff options
| author | Martin Geubelle <mge@odoo.com> | 2017-11-02 16:00:58 +0100 |
|---|---|---|
| committer | Martin Geubelle <mge@odoo.com> | 2017-11-07 14:12:18 +0100 |
| commit | 255478acbd66f01daf32422636f09f2014ebc9f8 (patch) | |
| tree | 32603470881197cd67f85efdee8aa37dbd173a18 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | f8bf66b6def30b5738d91da564fda0a8eb8eeead (diff) | |
[FIX] web: clear m2o input at creation cancel
After entering a value in a many2one, if one clicks somewhere else, a popup
is opened to suggest the user to create (or not) a new record with the entered
value.
Before this rev, closing this popup resulted in an unclear situation where the
input was still set with the entered value but the new record hadn't been created.
This commit fixes this by clearing the input value if the record is not created.
See task#36055
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
