Skip to content
Snippets Groups Projects
Commit df12c858 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#54655

Signed-off-by: default avatarXavier Morel (xmo) <xmo@odoo.com>
parent 177d0095
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment