[ADD] survey_dropdown_simple_choice (backport from 18.0) #30

Merged
mondot merged 1 commits from 16.0-backport-survey_dropdown_simple_choice into 16.0 2026-11-17 13:53:19 +00:00
Owner

Backport v16 du nouveau module "survey_dropdown_simple_choice" mergé via cette PR : #28
J'ai fait des tests fonctionnels en local sur un odoo v16.

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

**Backport v16 du nouveau module "survey_dropdown_simple_choice" mergé via cette PR : https://git.elabore.coop/Elabore/survey-tools/pulls/28** J'ai fait des tests fonctionnels en local sur un odoo v16. 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-23 10:16:08 +00:00
[ADD] survey_dropdown_simple_choice
Some checks failed
pre-commit / pre-commit (pull_request) Failing after 1m41s
tests / test (pull_request) Successful in 2m1s
b7cba7d6dd
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 merged commit b7cba7d6dd into 16.0 2026-11-17 13:53:19 +00:00
mondot deleted branch 16.0-backport-survey_dropdown_simple_choice 2026-11-17 13:53:19 +00:00
Sign in to join this conversation.
No description provided.