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.
 
 

33 lines
1.4 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="survey_survey_view_form" model="ir.ui.view">
<field name="name">survey_select_input survey.survey form</field>
<field name="model">survey.survey</field>
<field name="inherit_id" ref="survey.survey_survey_view_form" />
<field name="priority">26</field>
<field name="arch" type="xml">
<xpath expr="//div[@name='button_box']" position="inside">
<button type="object" name="action_survey_user_input"
attrs="{'invisible': [('answer_selection','=',False)]}"
context="{'search_default_selected':1}"
class="oe_stat_button text-success" icon="fa-check-circle">
<field name="answer_selected_count" string="Selected" widget="statinfo" />
</button>
<button type="object" name="action_survey_user_input"
attrs="{'invisible': [('answer_selection','=',False)]}"
context="{'search_default_selected':1}"
class="oe_stat_button text-success">
<field name="answer_selected_ratio" string="Selected" widget="percentpie" />
</button>
</xpath>
<group name="participants" position="attributes">
<attribute name="class">o_label_nowrap</attribute>
</group>
<group name="participants" position="inside">
<field name="answer_selection" />
</group>
</field>
</record>
</odoo>