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.
65 lines
2.6 KiB
65 lines
2.6 KiB
<?xml version="1.0" encoding="utf-8"?>
|
|
<odoo>
|
|
|
|
<record id="survey_user_input_form" model="ir.ui.view">
|
|
<field name="name">survey_input_dates survey.user_input form</field>
|
|
<field name="model">survey.user_input</field>
|
|
<field name="inherit_id" ref="survey.survey_user_input_form"/>
|
|
<field name="priority">26</field>
|
|
<field name="groups_id" eval="[(6,0,[ref('survey.group_survey_manager')])]"/>
|
|
<field name="arch" type="xml">
|
|
<field name="date_create" position="after">
|
|
<field name="date_start"/>
|
|
<field name="date_done"/>
|
|
<field name="duration" invisible="1"/>
|
|
<field name="duration_txt"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="survey_user_input_tree" model="ir.ui.view">
|
|
<field name="name">survey_input_dates survey.user_input tree</field>
|
|
<field name="model">survey.user_input</field>
|
|
<field name="inherit_id" ref="survey.survey_user_input_tree"/>
|
|
<field name="priority">26</field>
|
|
<field name="groups_id" eval="[(6,0,[ref('survey.group_survey_manager')])]"/>
|
|
<field name="arch" type="xml">
|
|
<field name="date_create" position="after">
|
|
<field name="date_start"/>
|
|
<field name="date_done"/>
|
|
<field name="duration" invisible="1"/>
|
|
<field name="duration_txt"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="view_survey_user_input_kanban" model="ir.ui.view">
|
|
<field name="name">survey_input_dates survey.user_input kanban</field>
|
|
<field name="model">survey.user_input</field>
|
|
<field name="inherit_id" ref="survey.view_survey_user_input_kanban"/>
|
|
<field name="priority">26</field>
|
|
<field name="groups_id" eval="[(6,0,[ref('survey.group_survey_manager')])]"/>
|
|
<field name="arch" type="xml">
|
|
<field name="date_create" position="after">
|
|
<field name="date_start"/>
|
|
<field name="date_done"/>
|
|
<field name="duration"/>
|
|
<field name="duration_txt"/>
|
|
</field>
|
|
</field>
|
|
</record>
|
|
|
|
<record id="survey_user_input_search" model="ir.ui.view">
|
|
<field name="name">survey_input_dates survey.user_input search</field>
|
|
<field name="model">survey.user_input</field>
|
|
<field name="inherit_id" ref="survey.survey_user_input_search"/>
|
|
<field name="priority">26</field>
|
|
<field name="groups_id" eval="[(6,0,[ref('survey.group_survey_manager')])]"/>
|
|
<field name="arch" type="xml">
|
|
<filter name="group_by_partner" position="after">
|
|
<filter string="Date done" name="by_date_done" domain="[]" context="{'group_by': 'date_done:week'}"/>
|
|
</filter>
|
|
</field>
|
|
</record>
|
|
|
|
</odoo>
|