Browse Source

Merge PR #1707 into 10.0

Signed-off-by lmignon
10.0
OCA-git-bot 5 years ago
parent
commit
5a0cbd8131
  1. 2
      onchange_helper/models/models.py

2
onchange_helper/models/models.py

@ -40,6 +40,8 @@ class Base(models.AbstractModel):
continue continue
dirties.append(field_name) dirties.append(field_name)
for field_name, field in modified_record._fields.items(): for field_name, field in modified_record._fields.items():
if not field.store:
continue
new_value = modified_record[field_name] new_value = modified_record[field_name]
if field.type not in ("one2many", "many2many"): if field.type not in ("one2many", "many2many"):
continue continue

Loading…
Cancel
Save