From f9710a68d69739c0dc4d3d094a4b2941a7b2a2bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Warnon?= Date: Mon, 9 Dec 2019 08:41:24 +0000 Subject: [PATCH] [IMP] survey: improve demo data for quiz session This commit improves the new survey "quiz" demo data by adding some questions to fill in the email and nickname of the user with the associated user inputs. PR #43568 Task 1972640 --- addons/survey/data/survey_demo_quiz.xml | 39 +++++++++++---- .../data/survey_demo_quiz_userinput.xml | 50 ++++++++++++++++--- 2 files changed, 73 insertions(+), 16 deletions(-) diff --git a/addons/survey/data/survey_demo_quiz.xml b/addons/survey/data/survey_demo_quiz.xml index f97ae7844da..e2b11c6fc32 100644 --- a/addons/survey/data/survey_demo_quiz.xml +++ b/addons/survey/data/survey_demo_quiz.xml @@ -9,7 +9,7 @@ scoring_with_answers 55 - page_per_section + page_per_question

This small quiz will test your knowledge about our Company. Be prepared !

@@ -28,13 +28,30 @@ 2 - Where are you from ? + What is your email ? char_box + + 3 + What is your nickname ? + char_box + + + + + + 4 + Where are you from ? + char_box + + + + + 5 How old are you ?

Just to categorize your answers, don't worry.

numerical_box @@ -99,14 +116,14 @@ 1 Fruits - 2 + 20
2 Vegetables - 1 + 10 @@ -129,7 +146,7 @@ 1 Bees - 2 + 20 @@ -158,24 +175,26 @@ 1 Apple Trees - 2 + 20 2 Lemon Trees - 1 + 10 3 Baobab Trees + -10 4 Cookies + -10 @@ -193,24 +212,26 @@ 1 Pomelos - 2 + 20 2 Grapefruits - 2 + 20 3 Cosmic rays + -10 4 Bricks + -10 diff --git a/addons/survey/data/survey_demo_quiz_userinput.xml b/addons/survey/data/survey_demo_quiz_userinput.xml index 8c20468f290..1330bad2187 100644 --- a/addons/survey/data/survey_demo_quiz_userinput.xml +++ b/addons/survey/data/survey_demo_quiz_userinput.xml @@ -42,11 +42,23 @@ char_box - Brussels + mark.brown23@example.com + char_box + Mark Brown + + + + + char_box + Brussels + + + + numerical_box 36 @@ -188,14 +200,26 @@ + + + char_box + admin@yourcompany.example.com + + + + + char_box + Mitchell Admin + + - + char_box Ottawa - + - + numerical_box 48 @@ -330,14 +354,26 @@ + + + char_box + joel.willis63@example.com + + + + + char_box + Joël Willis + + - + char_box Brussels - + - + numerical_box 28