Skip to content
Snippets Groups Projects
Commit 417cee7f authored by Jorge Pinna Puissant's avatar Jorge Pinna Puissant
Browse files

[FIX] fields: check if the inverse must change


Before this commit, when modifying a Many2one in a form view to add a
new record,  it will create the new record, and calculate the inverse
and write it in all the records of the list. This will call the write
method in all records even if they weren't changed.

Now, the inverse is set to be modified only if it's different from the
current value.

opw-2091842

closes odoo/odoo#39927

Signed-off-by: default avatarJorge Pinna Puissant (jpp) <jpp@odoo.com>
Co-authored-by: default avatarRaphaël Collet <rco@odoo.com>
parent 9eb0dda4
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