Odoo modules related to surveys
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <!-- survey views and actions -->
  4. <record id="survey_survey_form" model="ir.ui.view">
  5. <field name="name">survey_template survey.survey form</field>
  6. <field name="model">survey.survey</field>
  7. <field name="inherit_id" ref="survey.survey_survey_view_form" />
  8. <field name="priority">22</field>
  9. <field name="arch" type="xml">
  10. <field name="description_done" position="after">
  11. <label for="description_done_pass" attrs="{'invisible':[('scoring_type','=','no_scoring')]}"
  12. string="Certification passed end message (following the standard &quot;Congratulations, you have passed the test!&quot; message)" />
  13. <field name="description_done_pass" attrs="{'invisible':[('scoring_type','=','no_scoring')]}"
  14. placeholder="e.g. &quot;Passing the test gives you the possibility to...&quot;" />
  15. <label for="description_done_fail" attrs="{'invisible':[('scoring_type','=','no_scoring')]}"
  16. string="Certification failed end message (following the standard &quot;Unfortunately, you have failed the test.&quot; message)" />
  17. <field name="description_done_fail" attrs="{'invisible':[('scoring_type','=','no_scoring')]}"
  18. placeholder="e.g. &quot;You can retry this test after...&quot;" />
  19. </field>
  20. </field>
  21. </record>
  22. </odoo>