[FIX] don't remove computed fields with inverse method of the onchange values
parent
59aa3e02bb
commit
1aaf9158d9
|
@ -64,6 +64,6 @@ class Base(models.AbstractModel):
|
|||
return {
|
||||
f: v
|
||||
for f, v in all_values.items()
|
||||
if not self._fields[f].compute
|
||||
if not (self._fields[f].compute and not self._fields[f].inverse)
|
||||
and (f in values or f in new_values or f in onchange_fields)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue