Surveys - Odoo 20 Community Book

Assessments and Certifications

An assessment is a survey with right answers. The next sections show the sample quiz Furniture Care Quiz. It has three questions about the care of wooden furniture. Choose the type Assessment, or click the tile Assessment of the empty app.

odoo Development

Scoring, Time and Attempts

The tab Options of an assessment has the block Time & Scoring. The picture below has the quiz with all its options.

odoo Development

Pagination, Display Progress, Question Selection, Free Navigation (1 to 4). The same as in section 2.1.

Survey Time Limit (5). Tick it and set the minutes. A timer shows in the bottom bar of the page. When the time is over, the survey ends by itself. Here the limit is 10 minutes. The page of a test entry shows the clock, for example 09:35.

Scoring (6). Four choices. No scoring: the questions have no points. Scoring with answers after each page: the participant sees the right answers after each page. Scoring with answers at the end: the right answers are shown at the end, in the page Review answers. Scoring without answers: there is a score, but the right answers are never shown.

Required Score (%) (7). The pass mark. A participant passes when the score is equal or higher. Here it is 70 percent.

Is a Certification (8). Tick it to give a certificate to the people who pass. A list shows the style of the certificate (section 7.3), and a link Preview shows it.

Validity (9). The number of months that the certificate is valid. 0 means that it never ends. This field comes from the module Skills Certification, and it is used in the resume of the employee (section 10).

Certified Email Template (10). An email that Odoo sends to the person who passes, with the certificate as an attachment. You choose a template of email. The example has none.

Give Badge (11). Gives a badge to the people who pass. It shows when login is required, because Odoo must know who gets the badge. The next section explains badges.

Access Mode, Require Login and Limit Attempts (12, 13 and 14). Limit Attempts has a number of attempts. When a person fails, the page shows a button Retry and says how many attempts are left. The Retry button creates a new participation. Here the limit is 3 attempts.

Scores for the Questions

Open a question of the quiz. The tab Answers has two new columns, Correct and Score.

odoo Development

Correct. Tick the choices that are right. A single-select question has one. A multi-select question can have many.

Score. The points that this choice gives. A wrong choice has 0.

Number, Date and Datetime questions. A box Correct Answer shows in the tab, and a box for the points of the question. The answer must be exactly the same, so use these types only when a single value is right.

The maximum score of a quiz is the sum of the points of the right answers. Here it is 5: 1 point for the first question, 1 plus 1 for the second (two right choices), and 2 for the number question. A multi-select question gives a point for each right choice that the person ticks. A person who ticks only the right ones gets all the points. A wrong choice gives no point.

Taking the Quiz

The first page tells the time and has the button Start Certification (it says Start Survey for a quiz that is not a certification).

odoo Development odoo Development odoo Development

On the last page the button says Submit. Because this survey is a certification, Odoo asks a last question before it takes the answers: Submit your survey? Once it is out, it is like a letter in the mail: it cannot be recalled. The bottom bar shows the timer, the progress and the arrows.

odoo Development odoo Development

After the submit, the page shows the score, a message, and the result. We answered the number question with a wrong value on purpose. The score is 60 percent, which is less than the 70 percent of the pass mark, so the page says Unfortunately, you have failed the test. It shows the button Retry, the attempts left, and the button Review answers.

odoo Development

The page Review answers shows a chart of the overall performance (Correct, Partially, Incorrect and Unanswered), and then every question. The right choices are green with a tick mark. A wrong choice that the person picked is red. The person can see, in one look, what was wrong.

odoo Development

Certificate and Badge

A participant who passes a certification can receive a certificate in PDF. The page of the result has the button Download certification for the person who passed, and the Certified Email Template sends it by email. The email is not sent for a test entry. The list Is a Certification has eight styles: Modern, Modern Black, Minimal, Minimal Black, Classic #1, Classic #1 Black, Classic #2 and Classic #2 Black. The link Preview shows the certificate for your own name, with the word SPECIMEN across it. In our preview the stamp says Certification failed, because the preview is not a real result. A real certificate shows the name of the person, the name of the certification, the company, the date and the result in the round stamp. The logo is the logo of your company.

odoo Development

When you tick Give Badge, a field Pick a Badge shows. Type a name, and click Create and edit to open a small form with the name, the description, and the Forum Badge Level (used by the Forum app). The badge belongs to the Gamification feature of Odoo. The result page of a person who passed then shows the badge and the line You received the badge, followed by the name. The badge itself is given by a challenge of the Gamification feature, which Odoo updates after the participation.

odoo Development

Once the badge is saved, the field of the survey shows its name. A closed (archived) survey archives its badge as well.

When a person passes, a button Certified at the top of the survey opens the list of the people who passed. In the participants list, the filter Quiz passed does the same.

WhatsApp