quiz_demo.xml 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo><data>
  3. <record id="event_7_track_1_quiz" model="event.quiz">
  4. <field name="name">What This Event Is All About</field>
  5. <field name="event_track_id" ref="website_event_track.event_7_track_1"/>
  6. </record>
  7. <record id="event_7_track_1_question_0" model="event.quiz.question">
  8. <field name="name">What will we talk about during this event ?</field>
  9. <field name="sequence">1</field>
  10. <field name="quiz_id" ref="website_event_track_quiz.event_7_track_1_quiz"/>
  11. </record>
  12. <record id="event_7_track_1_question_0_0" model="event.quiz.answer">
  13. <field name="text_value">Wood</field>
  14. <field name="sequence">1</field>
  15. <field name="awarded_points">1</field>
  16. <field name="is_correct" eval="True"/>
  17. <field name="comment">You're really smart !</field>
  18. <field name="question_id" ref="event_7_track_1_question_0"/>
  19. </record>
  20. <record id="event_7_track_1_question_0_1" model="event.quiz.answer">
  21. <field name="text_value">Music</field>
  22. <field name="sequence">2</field>
  23. <field name="comment">Even if there will be some.</field>
  24. <field name="question_id" ref="event_7_track_1_question_0"/>
  25. </record>
  26. <record id="event_7_track_1_question_0_2" model="event.quiz.answer">
  27. <field name="text_value">Open Source Apps</field>
  28. <field name="sequence">3</field>
  29. <field name="comment">OpenWood is not an Open Source congres about Apps.</field>
  30. <field name="question_id" ref="event_7_track_1_question_0"/>
  31. </record>
  32. <record id="event_7_track_1_question_1" model="event.quiz.question">
  33. <field name="name">Where does lumber comes from ?</field>
  34. <field name="sequence">2</field>
  35. <field name="quiz_id" ref="website_event_track_quiz.event_7_track_1_quiz"/>
  36. </record>
  37. <record id="event_7_track_1_question_1_0" model="event.quiz.answer">
  38. <field name="text_value">Trees !</field>
  39. <field name="sequence">1</field>
  40. <field name="awarded_points">1</field>
  41. <field name="is_correct" eval="True"/>
  42. <field name="question_id" ref="event_7_track_1_question_1"/>
  43. </record>
  44. <record id="event_7_track_1_question_1_1" model="event.quiz.answer">
  45. <field name="text_value">Stores !</field>
  46. <field name="sequence">2</field>
  47. <field name="comment">Lumbers need first to be cut from trees!</field>
  48. <field name="question_id" ref="event_7_track_1_question_1"/>
  49. </record>
  50. <record id="event_7_track_5_quiz" model="event.quiz">
  51. <field name="name">Securing your Lumber during transport</field>
  52. <field name="event_track_id" ref="website_event_track.event_7_track_5"/>
  53. </record>
  54. <record id="event_7_track_5_question_0" model="event.quiz.question">
  55. <field name="name">Transporting lumber from stores to your house is safe.</field>
  56. <field name="sequence">1</field>
  57. <field name="quiz_id" ref="website_event_track_quiz.event_7_track_5_quiz"/>
  58. </record>
  59. <record id="event_7_track_5_question_0_0" model="event.quiz.answer">
  60. <field name="text_value">Yes</field>
  61. <field name="sequence">1</field>
  62. <field name="comment">In order to avoid accident, you need to secure any product of this kind during transportation!</field>
  63. <field name="question_id" ref="event_7_track_5_question_0"/>
  64. </record>
  65. <record id="event_7_track_5_question_0_1" model="event.quiz.answer">
  66. <field name="text_value">No</field>
  67. <field name="sequence">2</field>
  68. <field name="awarded_points">1</field>
  69. <field name="is_correct" eval="True"/>
  70. <field name="comment">Even if you have a big trunk, some long products need to be secured.</field>
  71. <field name="question_id" ref="event_7_track_5_question_0"/>
  72. </record>
  73. <record id="event_7_track_5_question_1" model="event.quiz.question">
  74. <field name="name">What kind of tool are needed to secure your lumber ?</field>
  75. <field name="sequence">2</field>
  76. <field name="quiz_id" ref="website_event_track_quiz.event_7_track_5_quiz"/>
  77. </record>
  78. <record id="event_7_track_5_question_1_0" model="event.quiz.answer">
  79. <field name="text_value">Hammer</field>
  80. <field name="sequence">1</field>
  81. <field name="comment">Hammer won't be of any help here!</field>
  82. <field name="question_id" ref="event_7_track_5_question_1"/>
  83. </record>
  84. <record id="event_7_track_5_question_1_1" model="event.quiz.answer">
  85. <field name="text_value">Tie-down straps and other wooden blocks</field>
  86. <field name="sequence">2</field>
  87. <field name="awarded_points">1</field>
  88. <field name="is_correct" eval="True"/>
  89. <field name="question_id" ref="event_7_track_5_question_1"/>
  90. </record>
  91. <record id="event_7_track_5_question_1_2" model="event.quiz.answer">
  92. <field name="text_value">Scotch tape</field>
  93. <field name="sequence">3</field>
  94. <field name="comment">Well, it could work but you will need a lot of tape!</field>
  95. <field name="question_id" ref="event_7_track_5_question_1"/>
  96. </record>
  97. <record id="event_7_track_13_quiz" model="event.quiz">
  98. <field name="name">Pretty. Ugly. Lovely.</field>
  99. <field name="event_track_id" ref="website_event_track.event_7_track_13"/>
  100. </record>
  101. <record id="event_7_track_13_question_0" model="event.quiz.question">
  102. <field name="name">What kind of wall is transformed here ?</field>
  103. <field name="sequence">1</field>
  104. <field name="quiz_id" ref="website_event_track_quiz.event_7_track_13_quiz"/>
  105. </record>
  106. <record id="event_7_track_13_question_0_0" model="event.quiz.answer">
  107. <field name="text_value">Concrete Blocks Wall</field>
  108. <field name="sequence">1</field>
  109. <field name="awarded_points">1</field>
  110. <field name="is_correct" eval="True"/>
  111. <field name="question_id" ref="event_7_track_13_question_0"/>
  112. </record>
  113. <record id="event_7_track_13_question_0_1" model="event.quiz.answer">
  114. <field name="text_value">Steel Wall</field>
  115. <field name="sequence">2</field>
  116. <field name="question_id" ref="event_7_track_13_question_0"/>
  117. </record>
  118. <record id="event_7_track_13_question_0_2" model="event.quiz.answer">
  119. <field name="text_value">Mud Wall</field>
  120. <field name="sequence">3</field>
  121. <field name="question_id" ref="event_7_track_13_question_0"/>
  122. </record>
  123. <record id="event.event_7" model="event.event">
  124. <field name="community_menu" eval="True"/>
  125. </record>
  126. <record id="event_track_visitor_admin_event_7_track_1" model="event.track.visitor">
  127. <field name="track_id" ref="website_event_track.event_7_track_1"/>
  128. <field name="visitor_id" ref="website.website_visitor_0"/>
  129. <field name="quiz_completed" eval="True"/>
  130. <field name="quiz_points">3</field>
  131. </record>
  132. <record id="event_track_visitor_demo_event_7_track_1" model="event.track.visitor">
  133. <field name="track_id" ref="website_event_track.event_7_track_1"/>
  134. <field name="visitor_id" ref="website.website_visitor_1"/>
  135. <field name="quiz_completed" eval="True"/>
  136. <field name="quiz_points">2</field>
  137. </record>
  138. <record id="event_track_visitor_portal_event_7_track_1" model="event.track.visitor">
  139. <field name="track_id" ref="website_event_track.event_7_track_1"/>
  140. <field name="visitor_id" ref="website.website_visitor_2"/>
  141. <field name="quiz_completed" eval="True"/>
  142. <field name="quiz_points">1</field>
  143. </record>
  144. </data></odoo>