diff options
| author | Julien Mougenot <jum@odoo.com> | 2019-08-14 13:16:04 +0000 |
|---|---|---|
| committer | Aaron Bohy <aab@odoo.com> | 2019-09-18 06:11:03 +0000 |
| commit | e00121d50052c9ef7384173b844dd687a15933cd (patch) | |
| tree | 243decb7dcc14e456411f61c1ae37b7810bfbaa4 /addons/web/static/src/js/fields/relational_fields.js | |
| parent | 69dfa4ad87666f98f5af52d78c1df93104cfd6c1 (diff) | |
[FIX] web: multi edition in editable listviews error handling
Backport of 10eaf74230
Fixed crashes/incorrect behaviours in multi edition in the list views.
The solution to these problems was mainly to refactor the function
used to save multiple records.
Before this commit:
- Cancelling the confirmation dialog in multi edition caused
the edited record to be editable but disabled
- Saving an empty field in multi edition triggered a JS error
- Static confirmation message ("saving 0 valid records")
After this commit:
- Ability to cancel confirmation
- Proper error display when trying to save empty fields
- Message consistent with the situation
Diffstat (limited to 'addons/web/static/src/js/fields/relational_fields.js')
0 files changed, 0 insertions, 0 deletions
