summaryrefslogtreecommitdiff
path: root/odoo/fields.py
diff options
context:
space:
mode:
authorXavier Morel <xmo@odoo.com>2020-07-17 08:38:21 +0000
committerRaphael Collet <rco@odoo.com>2020-07-20 11:42:58 +0000
commitb3761a8cba6f24bbcb4b35f14e076965d1210f69 (patch)
treee610ddb26702da9f7d822e19ae2fabc02137c1f1 /odoo/fields.py
parent8f09ef294a6aa7a845114474658cf0b4f32c46e1 (diff)
[FIX] core: fix handling of removals in sub-o2m
Issue is specifically in the case of an onchange removing a record in an o2m in an o2m (so a sub-o2m) if loading an *existing* record in the SSF: since the server pretty much only returns a REMOVE_ALL followed by the records to keep or create, conserving the removal information requires diffing the value currently stored in the form and the result fo the onchange. Diff which was properly done for top-level o2ms, but not for the ones below that (apparently forgot this bit when improving support for nested o2ms earlier this year). X-original-commit: 177d009541cca589c6ebb85fc051b893ec001536
Diffstat (limited to 'odoo/fields.py')
0 files changed, 0 insertions, 0 deletions