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.

31 lines
1.3 KiB

  1. <?xml version="1.0" encoding="utf-8"?>
  2. <odoo>
  3. <record id="survey_survey_form" model="ir.ui.view">
  4. <field name="name">survey_input_template_custom survey.survey form</field>
  5. <field name="model">survey.survey</field>
  6. <field name="inherit_id" ref="survey.survey_form"/>
  7. <field name="priority">21</field>
  8. <field name="arch" type="xml">
  9. <field name="thank_you_message" position="before">
  10. <field name="thank_you_title" string="Page title"/>
  11. </field>
  12. <xpath expr="//notebook/page[descendant::field[@name='users_can_go_back']]" position="inside">
  13. <group col="4">
  14. <field name="start_btn_label"/>
  15. <field name="submit_btn_label"/>
  16. </group>
  17. </xpath>
  18. <xpath expr="//notebook/page[last()]" position="after">
  19. <page name="scss_style" string="SCSS style" groups="base.group_system">
  20. <div class="text-muted mb16">
  21. <i class="fa fa-exclamation-triangle text-warning"/>
  22. This SCSS stylesheet will be injected in the layout of user response to a survey. Be sure of what you do when you decide to modify this field.
  23. </div>
  24. <field name="scss_style" widget="ace" options="{'mode': 'scss'}"/>
  25. </page>
  26. </xpath>
  27. </field>
  28. </record>
  29. </odoo>