OdooWiki OCA HUB

Survey five stars question type

survey_question_type_five_star folder_open OCA/survey open_in_new
Uncategorised License: AGPL-3

This module adds five stars rating question type for survey page

auto_awesome What this module does

AI-generated from the code · Odoo 16.0

Adds a "Five Stars Rating" question type to surveys, letting respondents rate on a 1-to-5 star scale and showing star-based results in statistics and printed surveys.

This module extends the Survey app with a new question type called "Five Stars Rating". When you build a survey, you can pick this type for a question, and respondents see five clickable stars instead of a text box or multiple-choice list.

  • In the survey question form, a preview of the stars appears when the Five Stars Rating type is selected.
  • On the survey page, clicking a star fills in the rating; the value is stored as a number between 0 and 5.
  • If the question is mandatory, an answer of 0 or an empty answer is rejected with the configured error message.
  • Answers outside the 0–5 range are rejected with "Answer is not in the right range".
  • The system also checks saved answers: a five-star question must have a numeric answer, and mandatory questions require a value strictly above 0 and up to 5.
  • In survey statistics, the module shows the most common ratings and the count of correct answers, using the same numerical summary as number questions.
  • In printed surveys and per-respondent results, the chosen star value is displayed.

The module touches the survey question, survey user input and survey user input line models, and adds templates for the question, statistics, results and print views.

Depends on

survey
Models and fields (3)
  • survey.question · extends an existing modelquestion_type
  • survey.user_input · extends an existing model
  • survey.user_input.line · extends an existing model

Text generated by AI (DeepSeek) from reading the Odoo 16.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 3 confirmed, 6 with no information of 9 versions.

terminal Installation and usage

OCA documentation · Odoo 16.0

To use this module, you need to:

  • Go to Surveys, create a new survey, add a question of type "Five Stars Rating"

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.