48381c6869
[FIX] survey_record_generation: link to already created record at creation
...
A NOT required "other_record" field was always set after the loop with a
write(), even when the linked record was already created. This late write
triggers the recomputation of stored computed fields depending on the
relation, overriding the values answered by the user.
E.g. with subscription_oca, sale.subscription.line price_unit depends on
sale_subscription_id.partner_id/pricelist_id: a free amount typed in a
numerical_box question (33) was replaced by the product price (20) when
the line was linked to its subscription.
Now the relation is given to create() when the linked record already
exists, so that the user's values are protected from recomputation. The
deferred write is kept for records created later.
Assisted-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-22 18:40:21 +02:00
2835e2d2be
[FIX] survey_record_generation: partner_id/email on survey.user_input could be wrong
...
pre-commit / pre-commit (pull_request) Failing after 1m48s
tests / test (pull_request) Successful in 1m8s
New version : 18.0.1.0.1
_mark_done() only set partner_id/email when it created a *new* res.partner.
If the answer already had a partner_id/email (e.g. inherited from the Odoo
user logged in when the /survey/start link was opened), that value was kept
even though the record creation matched or created a different, correct
contact from the participant's own answers.
Now we always sync partner_id/email to the res.partner actually matched or created
from the participant's answers.
Add a migration to relink partner_id/email on existing done submissions.
(cherry picked from commit 0d521278c7 from the branch 16.0)
Assisted-By: Claude Sonnet 5 <noreply@anthropic.com >
Assisted-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-10 17:16:45 +02:00
0948703b4e
[FIX] survey_record_generation : allow false values in boolean question
...
(cherry picked from commit 7a1eacc16c from the branch 16.0)
2026-10-10 17:16:45 +02:00
1528e0b7ad
[CI] sync config from odoo-elabore-ci
2026-09-23 18:29:30 +00:00
f19c21f886
[CI] sync config from odoo-elabore-ci
2026-09-23 17:51:59 +00:00
eba98b5424
[CI] sync config from odoo-elabore-ci
2026-09-23 13:13:25 +00:00
d0afa2310d
[IMP] survey_extra_fields : handle file question on page navigation
...
pre-commit / pre-commit (pull_request) Failing after 1m40s
* Show a stored file (after navigating back) the same way as a freshly
selected one: a "filename + Remove file" chip, input hidden until removal.
* Keep the stored file when a page is re-submitted without a new selection
(instead of overwriting it with a skipped answer).
* "Remove file" now sends a sentinel to actually delete the stored file,
so the removal persists across navigation.
2026-06-11 10:52:59 +02:00
8a2075a3db
[MIG] survey_extra_fields, survey_base : modifications to make them work in v18
2026-06-11 10:52:53 +02:00
8f235646ef
[ADD] survey_extra_fields, survey_base : copy modules from v16
2026-06-10 15:38:57 +02:00
aff1a6caae
[IMP] survey_record_generation : new option update_existing_fields
pre-commit / pre-commit (pull_request) Failing after 1m32s
2026-04-09 15:14:49 +02:00
0d1866ace3
[IMP] survey_record_generation: add default filter on survey id and active user_input for generated records
pre-commit / pre-commit (pull_request) Failing after 1m32s
2026-03-26 11:16:19 +01:00
4b66618686
[IMP] survey_record_generation: added _rec_name for some models without name fields and corrected use of self in _compute_warning_message
pre-commit / pre-commit (pull_request) Failing after 1m33s
2026-03-25 18:05:16 +01:00
94d3bd72b1
[ADD] survey_record_generation : migrate from 16 to 18
pre-commit / pre-commit (pull_request) Failing after 1m30s
2026-03-25 17:56:22 +01:00
eced098fbb
init 18.0
2026-03-24 14:42:53 +01:00
10e9cb6c15
[IMP] survey_extra_fields : description is more detailed
pre-commit / pre-commit (pull_request) Failing after 1m53s
2026-02-18 17:59:55 +01:00
edd1d02f4b
[IMP] survey_extra_fields : add base as a dependancy
pre-commit / pre-commit (pull_request) Failing after 1m49s
2026-02-18 17:50:26 +01:00
b63b8ba885
[IMP] survey_extra_fields: new params max_file_size and allowed_extensions for file question type
pre-commit / pre-commit (pull_request) Failing after 1m45s
2026-02-18 17:49:33 +01:00
e45bccc3e3
[IMP] survey_base : add i18n
pre-commit / pre-commit (pull_request) Failing after 1m38s
2026-02-17 15:51:07 +01:00
0d4a91f1b7
[ADD] survey_extra_fields : file question type
pre-commit / pre-commit (pull_request) Failing after 1m39s
2026-02-17 15:38:51 +01:00
e1c2be8939
[IMP] survey_record_generation : fill up user_input.partner_id when creating a res.partner
pre-commit / pre-commit (pull_request) Failing after 1m34s
2026-01-13 12:32:07 +01:00
af07cad3f6
[IMP] survey_record_generation : allow readonly fields for record creation
2025-12-02 15:02:04 +00:00
6576f28346
[IMP] survey_record_generation : remove obsolete param ignore_when_res_partner_mandatory_fields_are_missing
pre-commit / pre-commit (pull_request) Failing after 1m33s
2025-12-02 15:54:41 +01:00
7183ff6f54
[IMP] survey_record_generation : add param ignore_if_mandatory_field_is_missing
pre-commit / pre-commit (pull_request) Failing after 1m38s
2025-11-13 17:44:44 +01:00
c35bb33284
[IMP] survey_record_generation : hotfix when creating a record depending on an other existing record
pre-commit / pre-commit (pull_request) Failing after 1m36s
2025-11-12 10:16:55 +01:00
f709adbcec
[IMP] survey_record_generation: feature be able to update existing record
pre-commit / pre-commit (pull_request) Failing after 1m38s
2025-11-03 17:38:01 +01:00
fd25c2b970
[IMP] survey_record_generation: first refacto of record creation
pre-commit / pre-commit (pull_request) Failing after 1m33s
2025-10-23 15:06:03 +02:00
7d638c4e92
[IMP] survey_record_generation : add tests on record creation
pre-commit / pre-commit (pull_request) Failing after 1m37s
2025-10-15 19:20:39 +02:00
23fbbddbb2
[FIX]survey_record_generation:fix IndexError when record value is empty
2025-10-01 15:14:43 +02:00
e8d2e96114
Sync config from odoo-elabore-ci:16.0
2025-10-01 15:14:43 +02:00
23ac27d76c
[IMP]surveuy_record_generation:accept boolean field in record generation
2025-10-01 15:13:56 +02:00
963fc5b9c0
[IMP] survey_record_generation : add a param in mark_down to ignore creation when res partner mandatory fields are missing
2025-08-19 12:02:46 +02:00
c4302da556
[ADD]urvey_record_generation: manage the case where the other record is a mandatory field
2025-05-14 14:42:18 +02:00
38df9c61d0
[FIX]survey_record_generation:fix fixed_value_many2one
2025-04-15 17:30:06 +02:00
clementthomas
22af4f8aed
[IMP] survey_record_generation: add README
2025-02-28 14:03:42 +01:00
clementthomas
73d9f5c62b
[IMP] survey_record_generation: link generated record to participations
2025-02-28 14:03:27 +01:00
clementthomas
6de163bf6d
[i18n] survey_record_generation: FR translations
2025-02-24 18:20:41 +01:00
clementthomas
2df8af63d7
[FIX] survey_record_generation: bug fix when value of survey answer not set
2025-02-24 18:04:49 +01:00
clementthomas
f2da40afeb
[IMP] survey_record_generation: manage filling of answers
2025-02-24 18:04:15 +01:00
clementthomas
2acd034934
[IMP] survey_record_generation: add unicity check
2025-02-21 16:30:20 +01:00
clementthomas
bf78651b31
[NEW] survey_record_generation
2025-02-20 19:30:36 +01:00
clementthomas
cbf71900ce
[IMP] survey_contact_generation:
...
manage question linked to many2one or many2many field with "Comment" choice as response
2025-01-20 10:47:04 +01:00
clementthomas
6cd1b0e99a
[IMP] survey_crm_generation:
...
force survey to create lead and not opportunity
2024-12-12 16:00:28 +01:00
clementthomas
33cd943e2c
[IMP] survey_contact_generation:
...
prevent doublon search for contact without email in user_input
2024-12-04 11:56:49 +01:00
clementthomas
991dab5c5b
[IMP] survey_crm_generation_training:
...
add event_type field in crm lead tree and search
2024-12-04 11:55:49 +01:00
clementthomas
4be0f29c28
[IMP] survey_crm_generation_training:
...
use user_id of survey in created new lead
2024-07-10 13:28:11 +02:00
clementthomas
c281e496a7
[IMP] survey_crm_generation_training:
...
Training field visible in leads and opportunities
2024-07-10 13:07:05 +02:00
clementthomas
2200f6fd76
[IMP] survey_generation:
...
allow read fields if not superuser
2024-05-30 12:18:28 +02:00
clementthomas
da06658145
[NEW] survey_notify
2024-04-17 15:42:37 +02:00
clementthomas
54a288c482
[IMP] survey_event_speaker_generation:
...
* create event_speakers in event tracks
2024-03-22 12:29:56 +01:00
clementthomas
33796a943a
[IMP] survey_contact_generation:
...
Change doublon search on survey contact generation
2024-02-27 11:40:50 +01:00