diff options
| author | Aaron Bohy <aab@odoo.com> | 2017-05-05 10:58:10 +0200 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2017-05-05 13:31:46 +0200 |
| commit | e8f9bb683d958f0a7efa1e42a53633b72150c32f (patch) | |
| tree | 956bc774f379e1c23db14ffba59b89998025d1fb /addons/web/static/src/js/views/basic | |
| parent | 47305199a85d896b8e0b757444b8a7d7bc10e619 (diff) | |
[FIX] web: DebouncedField: notify changes only when changed
Before this rev., if you opened a form view with, e.g. a float
field, that is unset, and then click on edit, then save, it
actually saved the new value for the float field (being 0),
whereas it shouldn't do any RPC as nothing changed.
This is because the former code couldn't detect if the value "0"
in the input is there because the field is still unset or if the
user simply set it to 0.
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
