diff --git a/addons/survey/__manifest__.py b/addons/survey/__manifest__.py index db35f4af734..9c2617434ac 100644 --- a/addons/survey/__manifest__.py +++ b/addons/survey/__manifest__.py @@ -36,7 +36,6 @@ sent mails with personal token for the invitation of the survey. 'demo': [ 'data/survey_demo_user.xml', 'data/survey_demo_feedback.xml', - 'data/survey.user_input.csv', 'data/survey.user_input_line.csv' ], 'installable': True, diff --git a/addons/survey/data/survey.user_input.csv b/addons/survey/data/survey.user_input.csv deleted file mode 100644 index 7af2096bb88..00000000000 --- a/addons/survey/data/survey.user_input.csv +++ /dev/null @@ -1,7 +0,0 @@ -id,survey_id:id,state -ui1,feedback_form,done -ui2,feedback_form,done -ui3,feedback_form,done -ui4,feedback_form,skip -ui5,feedback_form,skip -ui6,feedback_form,new diff --git a/addons/survey/data/survey.user_input_line.csv b/addons/survey/data/survey.user_input_line.csv index 58b67969d5a..2c81cd5a397 100644 --- a/addons/survey/data/survey.user_input_line.csv +++ b/addons/survey/data/survey.user_input_line.csv @@ -1,125 +1,38 @@ id,user_input_id:id,question_id:id,skipped,answer_type,value_text,value_number,value_date,value_free_text,value_suggested:id,value_suggested_row:id -uil_1,ui1,feedback_1_1,,suggestion,,,,,choice_1_1_1, -uil_2,ui1,feedback_1_2,,suggestion,,,,,choice_1_2_2, -uil_3,ui1,feedback_2_1,,suggestion,,,,,fcol_2_1_2,frow_2_1_1 -uil_4,ui1,feedback_2_1,,suggestion,,,,,fcol_2_1_3,frow_2_1_2 -uil_5,ui1,feedback_2_1,,suggestion,,,,,fcol_2_1_4,frow_2_1_3 -uil_6,ui1,feedback_2_1,,suggestion,,,,,fcol_2_1_1,frow_2_1_4 -uil_7,ui1,feedback_2_1,,suggestion,,,,,fcol_2_1_2,frow_2_1_5 -uil_8,ui1,feedback_2_2,,suggestion,,,,,fcol_2_2_4,frow_2_2_1 -uil_9,ui1,feedback_2_2,,suggestion,,,,,fcol_2_2_1,frow_2_2_2 -uil_10,ui1,feedback_2_2,,suggestion,,,,,fcol_2_2_2,frow_2_2_3 -uil_11,ui1,feedback_2_2,,suggestion,,,,,fcol_2_2_3,frow_2_2_4 -uil_12,ui1,feedback_2_2,,suggestion,,,,,fcol_2_2_4,frow_2_2_5 -uil_13,ui1,feedback_2_3,,free_text,,,,It is very difficult to understand,, -uil_14,ui1,feedback_2_4,,suggestion,,,,,choice_2_4_1, -uil_15,ui1,feedback_2_4,,suggestion,,,,,choice_2_4_2, -uil_16,ui1,feedback_2_5,,suggestion,,,,,fcol_2_5_3,frow_2_5_1 -uil_17,ui1,feedback_2_5,,suggestion,,,,,fcol_2_5_4,frow_2_5_2 -uil_18,ui1,feedback_2_5,,suggestion,,,,,fcol_2_5_1,frow_2_5_3 -uil_19,ui1,feedback_2_5,,suggestion,,,,,fcol_2_5_2,frow_2_5_4 -uil_20,ui1,feedback_2_5,,suggestion,,,,,fcol_2_5_3,frow_2_5_5 -uil_21,ui1,feedback_2_6,,suggestion,,,,,choice_2_6_2, -uil_22,ui1,feedback_2_7,,suggestion,,,,,fcol_2_7_2,frow_2_7_1 -uil_23,ui1,feedback_2_7,,suggestion,,,,,fcol_2_7_3,frow_2_7_2 -uil_24,ui1,feedback_2_7,,suggestion,,,,,fcol_2_7_4,frow_2_7_3 -uil_25,ui1,feedback_2_7,,suggestion,,,,,fcol_2_7_1,frow_2_7_4 -uil_26,ui1,feedback_3_1,,suggestion,,,,,choice_3_1_1, -uil_27,ui1,feedback_3_1,,suggestion,,,,,choice_3_1_5, -uil_28,ui1,feedback_3_2,,free_text,,,,Accept merge proposals more quickly,, -uil_29,ui1,feedback_3_3,,free_text,,,,Pay them!,, -uil_30,ui1,feedback_4_1,,suggestion,,,,,choice_4_1_2, -uil_31,ui1,feedback_4_1,,suggestion,,,,,choice_4_1_3, -uil_32,ui1,feedback_4_1,,suggestion,,,,,choice_4_1_4, -uil_33,ui2,feedback_1_1,,suggestion,,,,,choice_1_1_3, -uil_34,ui2,feedback_1_2,,suggestion,,,,,choice_1_2_3, -uil_35,ui2,feedback_2_1,,suggestion,,,,,fcol_2_1_3,frow_2_1_1 -uil_36,ui2,feedback_2_1,,suggestion,,,,,fcol_2_1_4,frow_2_1_2 -uil_37,ui2,feedback_2_1,,suggestion,,,,,fcol_2_1_1,frow_2_1_3 -uil_38,ui2,feedback_2_1,,suggestion,,,,,fcol_2_1_2,frow_2_1_4 -uil_39,ui2,feedback_2_1,,suggestion,,,,,fcol_2_1_3,frow_2_1_5 -uil_40,ui2,feedback_2_2,,suggestion,,,,,fcol_2_2_3,frow_2_2_1 -uil_41,ui2,feedback_2_2,,suggestion,,,,,fcol_2_2_4,frow_2_2_2 -uil_42,ui2,feedback_2_2,,suggestion,,,,,fcol_2_2_1,frow_2_2_3 -uil_43,ui2,feedback_2_2,,suggestion,,,,,fcol_2_2_2,frow_2_2_4 -uil_44,ui2,feedback_2_2,,suggestion,,,,,fcol_2_2_3,frow_2_2_5 -uil_45,ui2,feedback_2_3,,free_text,,,,I prefer a command-line tool,, -uil_46,ui2,feedback_2_4,,suggestion,,,,,choice_2_4_3, -uil_47,ui2,feedback_2_4,,suggestion,,,,,choice_2_4_1, -uil_48,ui2,feedback_2_5,,suggestion,,,,,fcol_2_5_4,frow_2_5_1 -uil_49,ui2,feedback_2_5,,suggestion,,,,,fcol_2_5_1,frow_2_5_2 -uil_50,ui2,feedback_2_5,,suggestion,,,,,fcol_2_5_2,frow_2_5_3 -uil_51,ui2,feedback_2_5,,suggestion,,,,,fcol_2_5_3,frow_2_5_4 -uil_52,ui2,feedback_2_5,,suggestion,,,,,fcol_2_5_4,frow_2_5_5 -uil_53,ui2,feedback_2_6,,suggestion,,,,,choice_2_6_1, -uil_54,ui2,feedback_2_7,,suggestion,,,,,fcol_2_7_3,frow_2_7_1 -uil_55,ui2,feedback_2_7,,suggestion,,,,,fcol_2_7_4,frow_2_7_2 -uil_56,ui2,feedback_2_7,,suggestion,,,,,fcol_2_7_1,frow_2_7_3 -uil_57,ui2,feedback_2_7,,suggestion,,,,,fcol_2_7_2,frow_2_7_4 -uil_58,ui2,feedback_3_1,,suggestion,,,,,choice_3_1_2, -uil_59,ui2,feedback_3_1,,suggestion,,,,,choice_3_1_3, -uil_60,ui2,feedback_3_1,,suggestion,,,,,choice_3_1_4, -uil_61,ui2,feedback_3_2,,free_text,,,,Reward most engaged contributors,, -uil_62,ui2,feedback_3_3,,free_text,,,,Launch OpenERP hackhatons,, -uil_63,ui2,feedback_4_1,,suggestion,,,,,choice_4_1_1, -uil_64,ui2,feedback_4_1,,suggestion,,,,,choice_4_1_2, -uil_65,ui2,feedback_4_1,,suggestion,,,,,choice_4_1_3, -uil_66,ui3,feedback_1_1,,suggestion,,,,,choice_1_1_1, -uil_67,ui3,feedback_1_2,,suggestion,,,,,choice_1_2_2, -uil_68,ui3,feedback_2_1,,suggestion,,,,,fcol_2_1_2,frow_2_1_1 -uil_69,ui3,feedback_2_1,,suggestion,,,,,fcol_2_1_3,frow_2_1_2 -uil_70,ui3,feedback_2_1,,suggestion,,,,,fcol_2_1_4,frow_2_1_3 -uil_71,ui3,feedback_2_1,,suggestion,,,,,fcol_2_1_1,frow_2_1_4 -uil_72,ui3,feedback_2_1,,suggestion,,,,,fcol_2_1_2,frow_2_1_5 -uil_73,ui3,feedback_2_2,,suggestion,,,,,fcol_2_2_4,frow_2_2_1 -uil_74,ui3,feedback_2_2,,suggestion,,,,,fcol_2_2_1,frow_2_2_2 -uil_75,ui3,feedback_2_2,,suggestion,,,,,fcol_2_2_2,frow_2_2_3 -uil_76,ui3,feedback_2_2,,suggestion,,,,,fcol_2_2_3,frow_2_2_4 -uil_77,ui3,feedback_2_2,,suggestion,,,,,fcol_2_2_4,frow_2_2_5 -uil_78,ui3,feedback_2_3,,free_text,,,,I prefer a command-line tool,, -uil_79,ui3,feedback_2_4,,suggestion,,,,,choice_2_4_1, -uil_80,ui3,feedback_2_4,,suggestion,,,,,choice_2_4_2, -uil_81,ui3,feedback_2_5,,suggestion,,,,,fcol_2_5_3,frow_2_5_1 -uil_82,ui3,feedback_2_5,,suggestion,,,,,fcol_2_5_4,frow_2_5_2 -uil_83,ui3,feedback_2_5,,suggestion,,,,,fcol_2_5_1,frow_2_5_3 -uil_84,ui3,feedback_2_5,,suggestion,,,,,fcol_2_5_2,frow_2_5_4 -uil_85,ui3,feedback_2_5,,suggestion,,,,,fcol_2_5_3,frow_2_5_5 -uil_86,ui3,feedback_2_6,,suggestion,,,,,choice_2_6_2, -uil_87,ui3,feedback_2_7,,suggestion,,,,,fcol_2_7_2,frow_2_7_1 -uil_88,ui3,feedback_2_7,,suggestion,,,,,fcol_2_7_3,frow_2_7_2 -uil_89,ui3,feedback_2_7,,suggestion,,,,,fcol_2_7_4,frow_2_7_3 -uil_90,ui3,feedback_2_7,,suggestion,,,,,fcol_2_7_1,frow_2_7_4 -uil_91,ui3,feedback_3_1,,suggestion,,,,,choice_3_1_1, -uil_92,ui3,feedback_3_1,,suggestion,,,,,choice_3_1_5, -uil_93,ui3,feedback_3_2,,free_text,,,,Reward most engaged contributors,, -uil_94,ui3,feedback_3_3,,free_text,,,,Launch OpenERP hackhatons,, -uil_95,ui3,feedback_4_1,,suggestion,,,,,choice_4_1_2, -uil_96,ui3,feedback_4_1,,suggestion,,,,,choice_4_1_3, -uil_97,ui3,feedback_4_1,,suggestion,,,,,choice_4_1_4, -uil_98,ui4,feedback_1_1,,suggestion,,,,,choice_1_1_2, -uil_99,ui4,feedback_1_2,,suggestion,,,,,choice_1_2_3, -uil_100,ui4,feedback_2_1,,suggestion,,,,,fcol_2_1_1,frow_2_1_1 -uil_101,ui4,feedback_2_1,,suggestion,,,,,fcol_2_1_2,frow_2_1_2 -uil_102,ui4,feedback_2_1,,suggestion,,,,,fcol_2_1_3,frow_2_1_3 -uil_103,ui4,feedback_2_1,,suggestion,,,,,fcol_2_1_4,frow_2_1_4 -uil_104,ui4,feedback_2_1,,suggestion,,,,,fcol_2_1_1,frow_2_1_5 -uil_105,ui4,feedback_2_2,,suggestion,,,,,fcol_2_2_4,frow_2_2_1 -uil_106,ui4,feedback_2_2,,suggestion,,,,,fcol_2_2_1,frow_2_2_2 -uil_107,ui4,feedback_2_2,,suggestion,,,,,fcol_2_2_2,frow_2_2_3 -uil_108,ui4,feedback_2_2,,suggestion,,,,,fcol_2_2_3,frow_2_2_4 -uil_109,ui4,feedback_2_2,,suggestion,,,,,fcol_2_2_4,frow_2_2_5 -uil_110,ui4,feedback_2_3,,free_text,,,,A more graphical tool would be useful.,, -uil_111,ui4,feedback_2_4,,suggestion,,,,,choice_2_4_2, -uil_112,ui4,feedback_2_4,,suggestion,,,,,choice_2_4_3, -uil_113,ui4,feedback_2_5,,suggestion,,,,,fcol_2_5_3,frow_2_5_1 -uil_114,ui4,feedback_2_5,,suggestion,,,,,fcol_2_5_4,frow_2_5_2 -uil_115,ui4,feedback_2_5,,suggestion,,,,,fcol_2_5_1,frow_2_5_3 -uil_116,ui4,feedback_2_5,,suggestion,,,,,fcol_2_5_2,frow_2_5_4 -uil_117,ui4,feedback_2_5,,suggestion,,,,,fcol_2_5_3,frow_2_5_5 -uil_118,ui4,feedback_2_6,,suggestion,,,,,choice_2_6_1, -uil_119,ui4,feedback_2_7,,suggestion,,,,,fcol_2_7_2,frow_2_7_1 -uil_120,ui4,feedback_2_7,,suggestion,,,,,fcol_2_7_3,frow_2_7_2 -uil_121,ui4,feedback_2_7,,suggestion,,,,,fcol_2_7_4,frow_2_7_3 -uil_122,ui4,feedback_2_7,,suggestion,,,,,fcol_2_7_1,frow_2_7_4 -uil_123,ui5,feedback_1_1,,suggestion,,,,,choice_1_1_1, -uil_124,ui5,feedback_1_2,,suggestion,,,,,choice_1_2_2, +survey_answer_1_p1_q1,survey_answer_1,survey_feedback_p1_q1,False,text,Brussels,,,,, +survey_answer_1_p1_q2,survey_answer_1,survey_feedback_p1_q2,False,date,,,1980-01-11,,, +survey_answer_1_p1_q3,survey_answer_1,survey_feedback_p1_q3,False,suggestion,,,,,survey_feedback_p1_q3_sug3, +survey_answer_1_p1_q4,survey_answer_1,survey_feedback_p1_q4,False,number,,4,,,, +survey_answer_1_p2_q1_1,survey_answer_1,survey_feedback_p2_q1,False,suggestion,,,,,survey_feedback_p2_q1_sug1, +survey_answer_1_p2_q1_2,survey_answer_1,survey_feedback_p2_q1,False,suggestion,,,,,survey_feedback_p2_q1_sug2, +survey_answer_1_p2_q2_1,survey_answer_1,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col3,survey_feedback_p2_q2_row1 +survey_answer_1_p2_q2_2,survey_answer_1,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col3,survey_feedback_p2_q2_row2 +survey_answer_1_p2_q2_3,survey_answer_1,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col2,survey_feedback_p2_q2_row3 +survey_answer_1_p2_q2_4,survey_answer_1,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col4,survey_feedback_p2_q2_row4 +survey_answer_1_p2_q2_5,survey_answer_1,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col2,survey_feedback_p2_q2_row5 +survey_answer_1_p2_q3,survey_answer_1,survey_feedback_p2_q3,False,free_text,,,,Thanks for the good quality of your products,, +survey_answer_2_p1_q1,survey_answer_2,survey_feedback_p1_q1,False,text,Paris,,,,, +survey_answer_2_p1_q2,survey_answer_2,survey_feedback_p1_q2,True,,,,,,, +survey_answer_2_p1_q3,survey_answer_2,survey_feedback_p1_q3,False,suggestion,,,,,survey_feedback_p1_q3_sug2, +survey_answer_2_p1_q4,survey_answer_2,survey_feedback_p1_q4,False,number,,10,,,, +survey_answer_2_p2_q1_1,survey_answer_2,survey_feedback_p2_q1,False,suggestion,,,,,survey_feedback_p2_q1_sug2, +survey_answer_2_p2_q1_2,survey_answer_2,survey_feedback_p2_q1,False,suggestion,,,,,survey_feedback_p2_q1_sug3, +survey_answer_2_p2_q1_3,survey_answer_2,survey_feedback_p2_q1,False,suggestion,,,,,survey_feedback_p2_q1_sug4, +survey_answer_2_p2_q2_1,survey_answer_2,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col4,survey_feedback_p2_q2_row1 +survey_answer_2_p2_q2_2,survey_answer_2,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col3,survey_feedback_p2_q2_row2 +survey_answer_2_p2_q2_3,survey_answer_2,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col3,survey_feedback_p2_q2_row3 +survey_answer_2_p2_q2_4,survey_answer_2,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col4,survey_feedback_p2_q2_row4 +survey_answer_2_p2_q2_5,survey_answer_2,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col3,survey_feedback_p2_q2_row5 +survey_answer_2_p2_q3,survey_answer_2,survey_feedback_p2_q3,False,free_text,,,,I really appreciate your products. They are awesome !!,, +survey_answer_3_p1_q1,survey_answer_3,survey_feedback_p1_q1,False,text,New York,,,,, +survey_answer_3_p1_q2,survey_answer_3,survey_feedback_p1_q2,False,date,,,1966-06-15,,, +survey_answer_3_p1_q3,survey_answer_3,survey_feedback_p1_q3,False,suggestion,,,,,survey_feedback_p1_q3_sug4, +survey_answer_3_p1_q4,survey_answer_3,survey_feedback_p1_q4,False,number,,1,,,, +survey_answer_3_p2_q1_1,survey_answer_3,survey_feedback_p2_q1,False,suggestion,,,,,survey_feedback_p2_q1_sug7, +survey_answer_3_p2_q1_2,survey_answer_3,survey_feedback_p2_q1,False,suggestion,,,,,survey_feedback_p2_q1_sug8, +survey_answer_3_p2_q2_1,survey_answer_3,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col1,survey_feedback_p2_q2_row1 +survey_answer_3_p2_q2_2,survey_answer_3,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col2,survey_feedback_p2_q2_row2 +survey_answer_3_p2_q2_3,survey_answer_3,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col1,survey_feedback_p2_q2_row3 +survey_answer_3_p2_q2_4,survey_answer_3,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col3,survey_feedback_p2_q2_row4 +survey_answer_3_p2_q2_5,survey_answer_3,survey_feedback_p2_q2,False,suggestion,,,,,survey_feedback_p2_q2_col1,survey_feedback_p2_q2_row5 +survey_answer_3_p2_q3,survey_answer_3,survey_feedback_p2_q3,False,free_text,,,,The customizable desk received is not the one I ordered on your website and the quality is very poor ! Really disappointed.,, diff --git a/addons/survey/data/survey_demo_feedback.xml b/addons/survey/data/survey_demo_feedback.xml index 01e591dbddb..24aa3890ac4 100644 --- a/addons/survey/data/survey_demo_feedback.xml +++ b/addons/survey/data/survey_demo_feedback.xml @@ -1,441 +1,232 @@ - - - - - User Feedback Form - - - - <p>This survey should take less than five minutes.</p> - <p></p> - - - - About your Odoo usage - - 1 - <p></p> - - - - 1 - Are you using Odoo on a daily basis? - simple_choice - dropdown - - - - - 1 - Yes, I use a version < 7.0 - - - - 2 - Yes, I use the 7.0 version, installed locally - - - - 3 - Yes, I use the online version of Odoo - - - - 4 - No, I just tested it - - - - 2 - Which modules are you using/testing? - multiple_choice - 4 - - - - - 1 - Sales Management - - - - 2 - Purchases Management - - - - 3 - Financial Management - - - - 4 - CRM - - - - 5 - Project Management - - - - 6 - Human Resources - - - - Ergonomy and ease of use - - 2 - <p>These questions relate to the ergonomy and ease of use of Odoo. Try to remind your firsts days on Odoo and -what have been your difficulties.</p> - - - - 1 - What do you think about the documentation available on doc.odoo.com? - matrix - simple - - - - - 1 - Totally disagree - - - - 2 - Disagree - - - - 3 - Agree - - - - 4 - Totally agree - - - - 1 - It is up-to-date - - - - 2 - It helps in the beginning - - - - 3 - I use the contextual help in Odoo - - - - 4 - It is complete - - - - 5 - It is clear - - - - 2 - What do you think about the process views of Odoo, available in the web client ? - matrix - simple - - - - - 1 - Totally disagree - - - - 2 - Disagree - - - - 3 - Agree - - - - 4 - Totally agree - - - - 1 - They help new users to understand Odoo - - - - 2 - They are clean and correct - - - - 3 - They are useful on a daily usage - - - - 4 - A process is defined for all enterprise flows - - - - 5 - It's easy to find the process you need - - - - 3 - Do you have suggestions on how to improve the process view ? - free_text - - - - 4 - What do you think about the structure of the menus? - multiple_choice - 4 - - - - - 1 - The current menu structure is good - - - - 2 - It can be improved - - - - 3 - There are too much menus, it's complex to understand - - - - 5 - What do you think about the groups of users? - matrix - simple - - - - - 1 - Totally disagree - - - - 2 - Disagree - - - - 3 - Agree - - - - 4 - Totally agree - - - - 1 - The security rules defined on groups are useful - - - - 2 - Those security rules are standard and can be used out-of-the-box in most cases - - - - 3 - The 'Usability/Extended View' group helps in daily work - - - - 4 - The 'Usability/Extended View' group hides only optional fields - - - - 5 - The groups set on menu items are relevant - - - - 6 - What do you think about the structure of the menus? - simple_choice - columns - 4 - - - - - 1 - There are too many groups defined, security is too complex to set - - - - 2 - There are too few groups defined, security isn't accurate enough - - - - 3 - The number of groups is good - - - - 7 - What do you think about configuration wizards? - matrix - simple - - - - - 1 - Totally disagree - - - - 2 - Disagree - - - - 3 - Agree - - - - 4 - Totally agree - - - - 1 - Descriptions and help tooltips are clear enough - - - - 2 - Configuration wizard exists for each important setting - - - - 3 - Extra modules proposed are relevant - - - - 4 - Running the configuration wizards is a good way to spare time - - - - Community and contributors - - 3 - <p></p> - - - - 1 - How do you contribute or plan to contribute to Odoo? - multiple_choice - 6 - - - - - 1 - I participate to discussion and forums - - - - 2 - I'd like to contribute but I don't know how? - - - - 3 - I develop new features - - - - 4 - I help to translate - - - - 5 - I write documentations - - - - 2 - Do you have a proposition to help people to contribute? - free_text - - - - 3 - Do you have a proposition to attract new contributors? - free_text - - - - Questions for developers - - 4 - <p>If you do not contribute or develop in Odoo, skip this page.</p> - - - - 1 - Where do you develop your new features? - multiple_choice - 6 - - - - 1 - I use Github, like all official Odoo projects - - - - 2 - I use another repository system (SourceForge...) - - - - 3 - I host them on my own website - - - - 4 - I do not publish my developments - - - + + + + User Feedback Form + + + + +

This survey allows you to give a feedback about your experience with our eCommerce solution. + Filling it helps us improving your experience.

+ <p></p> +
+ + + + General information + + 1 + +

This section is about general informations about you. Answering them helps qualifying your answers.

+
+ + + 1 + Where do you live ? + textbox + + + + + 2 + When is your date of birth ? + date + + + + + 3 + How frequently do you buy products online ? + simple_choice + dropdown + + + + + + + 1 + Once a day + + + + 2 + Once a week + + + + 3 + Once a month + + + + 4 + Once a year + + + + 5 + Other (answer in comment) + + + + 4 + How many times did you order products on our website ? + numerical_box + + + + + + About our ecommerce + + 2 + +

This section is about our eCommerce experience itself.

+
+ + + 1 + Which of the following words would you use to describe our products ? + multiple_choice + + + + + + + 1 + High quality + + + + 2 + Useful + + + + 3 + Unique + + + + 4 + Good value for money + + + + 5 + Overpriced + + + + 6 + Impractical + + + + 7 + Ineffective + + + + 8 + Poor quality + + + + 9 + Other + + + + 2 + What do your think about our new eCommerce ? + matrix + multiple + + + + + 1 + Totally disagree + + + + 2 + Disagree + + + + 3 + Agree + + + + 4 + Totally agree + + + + 1 + The new layout and design is fresh and up-to-date + + + + 2 + It is easy to find the product that I want + + + + 3 + The tool to compare the products is useful to make a choice + + + + 4 + The checkout process is clear and secure + + + + 5 + I have added products to my wishlist + + + + 3 + Do you have any other comments, questions, or concerns ? + free_text + + + + + + manually + + mark.brown23@example.com + done + + + + manually + + billy.fox45@example.com + done + + + + manually + + Evelyne Gargouillis <evelyne@example.com> + done + + + + manually + + Martin Tamarre <martin@example.com> + skip + + +
diff --git a/addons/survey/static/src/js/tour_test_survey.js b/addons/survey/static/src/js/tour_test_survey.js index bf0ae590709..c051c766ba0 100644 --- a/addons/survey/static/src/js/tour_test_survey.js +++ b/addons/survey/static/src/js/tour_test_survey.js @@ -6,192 +6,71 @@ var base = require("web_editor.base"); tour.register('test_survey', { test: true, - url: '/survey/start/user-feedback-form-1/phantom', + url: '/survey/start/user-feedback-form-1', wait_for: base.ready() -}, - [ - // Page-1 - { - content: "Clicking on Start Survey", - trigger: 'a.btn.btn-primary.btn-lg:contains("Start Survey")', - }, - // Question: Where do you develop your new features? - { - content: "Selecting answer 'Yes, I use a version < 7.0'", - trigger: 'select[name="1_1_1"]', - run: 'text 1', - }, - // Question: Which modules are you using/testing? - { - content: "Ticking answer 'Sales Management'", - trigger: 'input[name="1_1_2_5"][value="5"]', - run: 'text 5', - }, - { - content: "Clicking on Next Page", - trigger: 'button[value="next"]', - }, - // Page-2 - // Question: What do you think about the documentation available on doc.odoo.com? - { - content: "For 'It is up-to-date' checking 'Totally disagree'", - trigger: 'input[name="1_2_3_15"][value="11"]', - run: 'text 11', - }, - { - content: "For 'It helps in the beginning' ckecking 'Disagree'", - trigger: 'input[name="1_2_3_16"][value="12"]', - run: 'text 12', - }, - { - content: "For 'I use the contextual help in Odoo' checking 'Agree'", - trigger: 'input[name="1_2_3_17"][value="13"]', - run: 'text 13', - }, - { - content: "For 'It is complete' checking 'Totally disagree'", - trigger: 'input[name="1_2_3_18"][value="11"]', - run: 'text 11', - }, - { - content: "For 'It is clear' checking 'Disagree'", - trigger: 'input[name="1_2_3_19"][value="12"]', - run: 'text 12', - }, - // Question: What do you think about the process views of Odoo, available in the web client ? - { - content: "For 'They help new users to understand Odoo' checking 'Totally disagree'", - trigger: 'input[name="1_2_4_24"][value="20"]', - run: 'text 20', - }, - { - content: "For 'They are clean and correct' checking 'Totally disagree'", - trigger: 'input[name="1_2_4_25"][value="20"]', - run: 'text 20', - }, - { - content: "For 'They are useful on a daily usage' checking 'Totally disagree'", - trigger: 'input[name="1_2_4_26"][value="20"]', - run: 'text 20', - }, - { - content: "For 'A process is defined for all enterprise flows' checking 'Disagree'", - trigger: 'input[name="1_2_4_27"][value="21"]', - run: 'text 21', - }, - { - content: "For 'It's easy to find the process you need' checking 'Agree'", - trigger: 'input[name="1_2_4_28"][value="22"]', - run: 'text 22', - }, - // Question: Do you have suggestions on how to improve the process view? - { - content: "Writing answer", - trigger: 'textarea[name="1_2_5"]', - run: 'text I do not want to provide any suggestions.', - }, - // Question: What do you think about the structure of the menus? - { - content: "Checking 'It can be improved'", - trigger: 'input[name="1_2_6_30"][value="30"]', - run: 'text 30', - }, - // Question: What do you think about the groups of users? - { - content: "For 'The security rules defined on groups are useful' checking 'Agree'", - trigger: 'input[name="1_2_7_36"][value="32"]', - run: 'text 32', - }, - { - content: "For 'Those security rules are standard and can be used out-of-the-box in most cases' checking 'Totally agree'", - trigger: 'input[name="1_2_7_37"][value="35"]', - run: 'text 35', - }, - { - content: "For 'The 'Usability/Extended View' group helps in daily work' checking 'Totally agree'", - trigger: 'input[name="1_2_7_38"][value="35"]', - run: 'text 35', - }, - { - content: "For 'The 'Usability/Extended View' group hides only optional fields' checking 'Totally agree'", - trigger: 'input[name="1_2_7_39"][value="33"]', - run: 'text 33', - }, - { - content: "For 'The groups set on menu items are relevant' checking 'Totally disagree'", - trigger: 'input[name="1_2_7_40"][value="32"]', - run: 'text 32', - }, - // Question: What do you think about the structure of the menus? - { - content: "Checking 'There are too few groups defined, security isn't accurate enough'", - trigger: 'input[name="1_2_8"][value="42"]', - run: 'text 42', - }, - // Question: What do you think about configuration wizards? - { - content: "For 'Descriptions and help tooltips are clear enough' checking 'Agree'", - trigger: 'input[name="1_2_9_48"][value="46"]', - run: 'text 46', - }, - { - content: "For 'Configuration wizard exists for each important setting' checking 'Agree'", - trigger: 'input[name="1_2_9_49"][value="46"]', - run: 'text 46', - }, - { - content: "For 'Extra modules proposed are relevant' checking 'Totally agree'", - trigger: 'input[name="1_2_9_50"][value="47"]', - run: 'text 47', - }, - { - content: "For 'Running the configuration wizards is a good way to spare time' checking 'Totally disagree'", - trigger: 'input[name="1_2_9_51"][value="44"]', - run: 'text 44', - }, - { - content: "Clicking on Next Page", - trigger: 'button[value="next"]', - }, - // Page-3 - // Question: How do you contribute or plan to contribute to Odoo? - { - content: "Checking 'I would like to contribute but I don not know how?'", - trigger: 'input[name="1_3_10_53"][value="53"]', - run: 'text 53', - }, - // Question: Do you have a proposition to help people to contribute? - { - content: "Writing answer", - trigger: 'textarea[name="1_3_11"]', - run: 'text No. I do not have any proposition to help people to contribute.', - }, - // Question: Do you have a proposition to attract new contributors? - { - content: "Writing answer", - trigger: 'textarea[name="1_3_12"]', - run: 'text No. I do not have any proposition to Attract new contributors.', - }, - { - content: "Clicking on Next Page", - trigger: 'button[value="next"]', - }, - // Page-4 - // Question: Where do you develop your new features? - { - content: "Checking 'I host them on my own website'", - trigger: 'input[name="1_4_13_59"][value="59"]', - run: 'text 59', - }, - { - content: "Finish Survey", - trigger: 'button[value="finish"]', - }, - { - content: "Thank you", - trigger: 'h1:contains("Thank you!")', +}, [ + // Page-1 + { + content: 'Click on Start', + trigger: 'a.btn:contains("Start")', + }, { + content: 'Answer Where do you live', + trigger: 'div.js_question-wrapper:contains("Where do you live") input', + run: 'text Mordor-les-bains', + }, { + content: 'Answer Where do you live', + trigger: 'div.js_question-wrapper:contains("When is your date of birth") input', + run: 'text 05/05/1980', + }, { + content: 'Answer How frequently do you buy products online', + trigger: 'div.js_question-wrapper:contains("How frequently do you buy products online") select', + run: function () { + var $select = $('div.js_question-wrapper:contains("How frequently do you buy products online") select'); + $select.val($('option:contains("Once a month")').val()); } - ] -); + }, { + content: 'Answer How many times did you order products on our website', + trigger: 'div.js_question-wrapper:contains("How many times did you order products on our website") input', + run: 'text 12', + }, { + content: 'Click on Next Page', + trigger: 'button[value="next"]', + }, + // Page-2 + { + content: 'Answer Which of the following words would you use to describe our products (High Quality)', + trigger: 'div.js_question-wrapper:contains("Which of the following words would you use to describe our products") label:contains("High quality") input', + }, { + content: 'Answer Which of the following words would you use to describe our products (Good value for money)', + trigger: 'div.js_question-wrapper:contains("Which of the following words would you use to describe our products") label:contains("Good value for money") input', + }, { + content: 'Answer What do your think about our new eCommerce (The new layout and design is fresh and up-to-date)', + trigger: 'div.js_question-wrapper:contains("What do your think about our new eCommerce") tr:contains("The new layout and design is fresh and up-to-date") input:first', + }, { + content: 'Answer What do your think about our new eCommerce (It is easy to find the product that I want)', + trigger: 'div.js_question-wrapper:contains("What do your think about our new eCommerce") tr:contains("It is easy to find the product that I want") input:eq(2)', + }, { + content: 'Answer What do your think about our new eCommerce (The tool to compare the products is useful to make a choice)', + trigger: 'div.js_question-wrapper:contains("What do your think about our new eCommerce") tr:contains("The tool to compare the products is useful to make a choice") input:eq(3)', + }, { + content: 'Answer What do your think about our new eCommerce (The checkout process is clear and secure)', + trigger: 'div.js_question-wrapper:contains("What do your think about our new eCommerce") tr:contains("The checkout process is clear and secure") input:eq(2)', + }, { + content: 'Answer What do your think about our new eCommerce (I have added products to my wishlist)', + trigger: 'div.js_question-wrapper:contains("What do your think about our new eCommerce") tr:contains("I have added products to my wishlist") input:last', + }, { + content: 'Answer Do you have any other comments, questions, or concerns', + trigger: 'div.js_question-wrapper:contains("Do you have any other comments, questions, or concerns") textarea', + run: 'text This is great. Really.', + }, { + content: 'Click Submit', + trigger: 'button[value="finish"]', + }, + // Final page + { + content: 'Thank you', + trigger: 'h1:contains("Thank you!")', + } +]); }); diff --git a/addons/survey/tests/test_survey_ui.py b/addons/survey/tests/test_survey_ui.py index eaa346f71c8..3e489ca7be7 100644 --- a/addons/survey/tests/test_survey_ui.py +++ b/addons/survey/tests/test_survey_ui.py @@ -6,10 +6,10 @@ import odoo.tests class TestUi(odoo.tests.HttpCase): def test_01_admin_survey_tour(self): - self.phantom_js("/survey/start/user-feedback-form-1/phantom", "odoo.__DEBUG__.services['web_tour.tour'].run('test_survey')", "odoo.__DEBUG__.services['web_tour.tour'].tours.test_survey.ready", login="admin") + self.phantom_js("/survey/start/user-feedback-form-1", "odoo.__DEBUG__.services['web_tour.tour'].run('test_survey')", "odoo.__DEBUG__.services['web_tour.tour'].tours.test_survey.ready", login="admin") def test_02_demo_survey_tour(self): - self.phantom_js("/survey/start/user-feedback-form-1/phantom", "odoo.__DEBUG__.services['web_tour.tour'].run('test_survey')", "odoo.__DEBUG__.services['web_tour.tour'].tours.test_survey.ready", login="demo") + self.phantom_js("/survey/start/user-feedback-form-1", "odoo.__DEBUG__.services['web_tour.tour'].run('test_survey')", "odoo.__DEBUG__.services['web_tour.tour'].tours.test_survey.ready", login="demo") def test_03_public_survey_tour(self): - self.phantom_js("/survey/start/user-feedback-form-1/phantom", "odoo.__DEBUG__.services['web_tour.tour'].run('test_survey')", "odoo.__DEBUG__.services['web_tour.tour'].tours.test_survey.ready") + self.phantom_js("/survey/start/user-feedback-form-1", "odoo.__DEBUG__.services['web_tour.tour'].run('test_survey')", "odoo.__DEBUG__.services['web_tour.tour'].tours.test_survey.ready")