Skip to content
Snippets Groups Projects
Commit ef014936 authored by Raphael Collet's avatar Raphael Collet
Browse files

[FIX] core: update of one2many field on new record with origin


When setting the inverse many2one field on a record, the record is not
removed from its inverse relation if the field's current value is not in
cache.  Fix this by setting the field's value in cache before updating.

closes odoo/odoo#54711

X-original-commit: df12c858
Signed-off-by: default avatarXavier Morel (xmo) <xmo@odoo.com>
parent b3761a8c
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment