[IMP] survey_record_generation : hotfix when creating a record depending on an other existing record
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m36s
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m36s
This commit is contained in:
@@ -78,7 +78,8 @@ class SurveyUserInput(models.Model):
|
||||
for k, v in vals.items()
|
||||
if not getattr(existing_record, k, False)
|
||||
}
|
||||
record = existing_record.write(vals_with_keys_not_in_record)
|
||||
existing_record.write(vals_with_keys_not_in_record)
|
||||
record = existing_record
|
||||
else:
|
||||
if (
|
||||
model == "res.partner"
|
||||
|
||||
Reference in New Issue
Block a user