[IMP] survey_record_generation : new option update_existing_fields

(cherry picked from commit aff1a6caae)
This commit is contained in:
2026-04-09 09:42:36 +02:00
committed by maud-buchwalter
parent 843e747a5f
commit 3cce144be2
7 changed files with 139 additions and 61 deletions

View File

@@ -72,7 +72,12 @@ Record generation configuration
For m2o or m2m links, question should be configured before. See Question answers configuration section below.
* **other created record**: If value come from other created record (m2o case only)
#. Several options exist for the *record creation* :
#. You can check "Ignore creation if a mandatory field is missing" to prevent the form to crash if some record creations fail.
#. You can check "Update existing records" to update existing records instead of creating it. For this, you need to
precise the "Field to retrieve existing records". Only the first matched record will be updated. By default
the existing values are not replaced, except if you check the option "Update existing values".
Question answers configuration
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~