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.

58 lines
2.3 KiB

<?xml version="1.0" encoding="utf-8"?>
<odoo>
<record id="survey_user_input_view_form" model="ir.ui.view">
<field name="name">survey_input_duration survey.user_input form</field>
<field name="model">survey.user_input</field>
<field name="inherit_id" ref="survey.survey_user_input_view_form" />
<field name="priority">26</field>
<field name="arch" type="xml">
<field name="deadline" position="after">
<field name="start_datetime" />
<field name="end_datetime" />
<field name="duration" widget="float_time" />
</field>
</field>
</record>
<record id="survey_user_input_view_tree" model="ir.ui.view">
<field name="name">survey_input_duration survey.user_input tree</field>
<field name="model">survey.user_input</field>
<field name="inherit_id" ref="survey.survey_user_input_view_tree" />
<field name="priority">26</field>
<field name="arch" type="xml">
<field name="deadline" position="after">
<field name="start_datetime" optional="hide" />
<field name="end_datetime" optional="hide" />
<field name="duration" widget="float_time" optional="show" />
</field>
</field>
</record>
<record id="survey_user_input_viuew_kanban" model="ir.ui.view">
<field name="name">survey_input_duration survey.user_input kanban</field>
<field name="model">survey.user_input</field>
<field name="inherit_id" ref="survey.survey_user_input_viuew_kanban" />
<field name="priority">26</field>
<field name="arch" type="xml">
<field name="create_date" position="after">
<field name="start_datetime" />
<field name="end_datetime" />
<field name="duration" />
</field>
</field>
</record>
<record id="survey_user_input_view_search" model="ir.ui.view">
<field name="name">survey_input_duration survey.user_input search</field>
<field name="model">survey.user_input</field>
<field name="inherit_id" ref="survey.survey_user_input_view_search" />
<field name="priority">26</field>
<field name="arch" type="xml">
<filter name="group_by_partner" position="after">
<filter string="Date done" name="by_end_datetime" domain="[]" context="{'group_by': 'end_datetime'}" />
</filter>
</field>
</record>
</odoo>