[ADD] survey_dropdown_simple_choice #28

Merged
mondot merged 1 commits from new-survey_dropdown_simple_choice-module into 18.0 2026-10-23 08:51:49 +00:00
Owner

cf https://elabore.coop/odoo/timesheets/project.task/6788

Display "Multiple choice: only one answer" (simple_choice) survey
questions as a dropdown list instead of radio buttons, per question.

The native radios are kept (hidden by CSS) and still carry the answer:
the dropdown only clicks them, so validation, conditional questions,
"Other" comment, auto-submit and AJAX submit are handled natively.
In review / print mode, only the selected and correct answers are
displayed. Native rendering is kept when suggested answers contain
images.

Assisted-By: Claude Opus 5.5 noreply@anthropic.com

cf https://elabore.coop/odoo/timesheets/project.task/6788 Display "Multiple choice: only one answer" (simple_choice) survey questions as a dropdown list instead of radio buttons, per question. The native radios are kept (hidden by CSS) and still carry the answer: the dropdown only clicks them, so validation, conditional questions, "Other" comment, auto-submit and AJAX submit are handled natively. In review / print mode, only the selected and correct answers are displayed. Native rendering is kept when suggested answers contain images. Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
mondot added 1 commit 2026-10-20 17:32:21 +00:00
[ADD] survey_dropdown_simple_choice
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m43s
tests / test (pull_request) Successful in 2m14s
73ca220e8f
Display "Multiple choice: only one answer" (simple_choice) survey
questions as a dropdown list instead of radio buttons, per question.

The select is mirrored on hidden radios so that the native survey form
pipeline (validation, conditional questions, "Other" comment, AJAX
submit, correct answers display) keeps working. Native radio rendering
is kept when suggested answers contain images and in readonly mode.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
mondot added 2 commits 2026-10-20 17:37:51 +00:00
[ADD] survey_dropdown_simple_choice
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m43s
tests / test (pull_request) Successful in 2m14s
73ca220e8f
Display "Multiple choice: only one answer" (simple_choice) survey
questions as a dropdown list instead of radio buttons, per question.

The select is mirrored on hidden radios so that the native survey form
pipeline (validation, conditional questions, "Other" comment, AJAX
submit, correct answers display) keeps working. Native radio rendering
is kept when suggested answers contain images and in readonly mode.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
[ADD] survey_dropdown_simple_choice
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m43s
tests / test (pull_request) Successful in 1m19s
e6ec9a0ced
Display "Multiple choice: only one answer" (simple_choice) survey
questions as a dropdown list instead of radio buttons, per question.

The select is mirrored on hidden radios so that the native survey form
pipeline (validation, conditional questions, "Other" comment, AJAX
submit, correct answers display) keeps working. Native radio rendering
is kept when suggested answers contain images and in readonly mode.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
mondot added 2 commits 2026-10-20 17:51:57 +00:00
[ADD] survey_dropdown_simple_choice
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m43s
tests / test (pull_request) Successful in 1m19s
e6ec9a0ced
Display "Multiple choice: only one answer" (simple_choice) survey
questions as a dropdown list instead of radio buttons, per question.

The select is mirrored on hidden radios so that the native survey form
pipeline (validation, conditional questions, "Other" comment, AJAX
submit, correct answers display) keeps working. Native radio rendering
is kept when suggested answers contain images and in readonly mode.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
[ADD] survey_dropdown_simple_choice
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m48s
tests / test (pull_request) Successful in 1m35s
dfaaa9405c
Display "Multiple choice: only one answer" (simple_choice) survey
questions as a dropdown list instead of radio buttons, per question.

The select is mirrored on hidden radios so that the native survey form
pipeline (validation, conditional questions, "Other" comment, AJAX
submit, correct answers display) keeps working. Native radio rendering
is kept when suggested answers contain images and in readonly mode.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
Author
Owner
  • Backporter en 16
- [ ] Backporter en 16
mondot added 2 commits 2026-10-22 16:32:40 +00:00
[ADD] survey_dropdown_simple_choice
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m48s
tests / test (pull_request) Successful in 1m35s
dfaaa9405c
Display "Multiple choice: only one answer" (simple_choice) survey
questions as a dropdown list instead of radio buttons, per question.

The select is mirrored on hidden radios so that the native survey form
pipeline (validation, conditional questions, "Other" comment, AJAX
submit, correct answers display) keeps working. Native radio rendering
is kept when suggested answers contain images and in readonly mode.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
[ADD] survey_dropdown_simple_choice
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m35s
tests / test (pull_request) Successful in 1m14s
9d55588f18
Display "Multiple choice: only one answer" (simple_choice) survey
questions as a dropdown list instead of radio buttons, per question.

The native radios are kept (hidden by CSS) and still carry the answer:
the dropdown only clicks them, so validation, conditional questions,
"Other" comment, auto-submit and AJAX submit are handled natively.
In review / print mode, only the selected and correct answers are
displayed. Native rendering is kept when suggested answers contain
images.

Assisted-By: Claude Opus 5.5 <noreply@anthropic.com>
stephansainleger approved these changes 2026-10-23 08:28:54 +00:00
mondot merged commit 9d55588f18 into 18.0 2026-10-23 08:51:49 +00:00
mondot deleted branch new-survey_dropdown_simple_choice-module 2026-10-23 08:51:49 +00:00
Sign in to join this conversation.
No description provided.