From 6d2bee710df2792c6000a5181efa023d6b814e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Warnon?= Date: Tue, 18 Feb 2020 09:21:16 +0000 Subject: [PATCH] [IMP] website_event_questions: improve demo data to showcase 'free_text' questions This commit improves the demo data of the event application by adding a few questions to better showcase the new 'free text question' feature. LINKS PR #45497 Task ID 2189529 --- .../data/event_question_demo.xml | 34 +++++++++++-- .../data/event_registration_demo.xml | 51 ++++++++++++++----- 2 files changed, 68 insertions(+), 17 deletions(-) diff --git a/addons/website_event_questions/data/event_question_demo.xml b/addons/website_event_questions/data/event_question_demo.xml index fc45310dd52..021763bd8a3 100644 --- a/addons/website_event_questions/data/event_question_demo.xml +++ b/addons/website_event_questions/data/event_question_demo.xml @@ -20,22 +20,50 @@ Meal Type + simple_choice - + Mixed 1 - + Vegetarian 2 - + Pastafarian 3 + + Allergies + text_box + + + + + How did you learn about this event? + simple_choice + + + + + Our website + 1 + + + + Commercials + 2 + + + + A friend + 3 + + diff --git a/addons/website_event_questions/data/event_registration_demo.xml b/addons/website_event_questions/data/event_registration_demo.xml index ac9c894d250..f2a10283f10 100644 --- a/addons/website_event_questions/data/event_registration_demo.xml +++ b/addons/website_event_questions/data/event_registration_demo.xml @@ -1,18 +1,41 @@ - - - + + + + + + - - + + Fish +Nuts + + - - + + + + - \ No newline at end of file + + + + + + + + + + + + + + + + + + + + + +