diff options
| author | Xavier Morel <xmo@odoo.com> | 2019-04-11 06:26:17 +0000 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2019-04-11 07:49:21 +0000 |
| commit | 6bd9e71d9d54ea541a107846543e4de463be7132 (patch) | |
| tree | ae6ab4070e08f966dd335e6142aba93f19c82952 /addons/web/static/src/js/fields | |
| parent | 5a83cd264999c588d2a980ac5ae972343619f255 (diff) | |
[FIX] SSF: misinterpretation of onchange command (4)
From an onchange, at this point, (4) doesn't mean "no change" it means
"reset to database values". Through the interplay of client and server
reverse-engineering one another at this point the client (is supposed
to) assume the o2m results are "complete" and a diff from the
current *in-database* values rather than the in-client (sent to the
server) ones.
So a (1) should completely replace all existing values, and a (4)
should just remove all of them (but keep the record linked).
closes odoo/odoo#32617
Signed-off-by: Xavier Morel (xmo) <xmo@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/fields')
0 files changed, 0 insertions, 0 deletions
