Browse Source

[FIX] don't remove computed fields with inverse method of the onchange values

pull/1484/head
Benoit 6 years ago
parent
commit
1ce04d79cf
  1. 2
      onchange_helper/models/models.py

2
onchange_helper/models/models.py

@ -47,5 +47,5 @@ class Base(models.AbstractModel):
return {
f: v for f, v in all_values.iteritems()
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)}
Loading…
Cancel
Save