<?xml version="1.0" encoding="UTF-8"?>
<odoo>
<record id="view_sos_case_diary_report_wizard_form" model="ir.ui.view">
    <field name="name">sos_case_diary_report_wizard.form</field>
    <field name="model">sos_case_diary_report_wizard</field>
    <field name="arch" type="xml">
        <form string="Case Diary Report">
            <group>
                <field name="from_date"/>
                <field name="to_date"/>
                <field name="sales_person_id" widget="many2one_avatar_user"/>
                <field name="customer"/>
            </group>
            <footer>
                <button name="generate_report" type="object" string="Generate Report" class="btn-primary"/>
                <button type="object" name="action_export" class="btn-primary"><i class="fa fa-download"></i> Download xls</button> 

                <button string="Cancel" class="btn-secondary" special="cancel"/>
            </footer>
        </form>
    </field>
</record>

<record id="view_sos_case_diary_report_tree" model="ir.ui.view">
    <field name="name">sos_case_diary_report.tree</field>
    <field name="model">sos_case_diary_report</field>
    <field name="arch" type="xml">
        <tree string="Case Diary Report" create="false">
        
            <field name="customer_name"/>
            <field name="action_plan_date"/>
            <field name="current_state_value"/>
            <field name="action_plan"/>
            <field name="notes"/>
            <field name="spenco_status"/>
        </tree>
    </field>
</record>
<record id="view_sos_case_diary_report_summary_tree" model="ir.ui.view">
    <field name="name">sos_case_diary_report_summary.tree</field>
    <field name="model">sos_case_diary_report_summary</field>
    <field name="arch" type="xml">
        <tree string="Case Diary Report Summary">
            <field name="status"/>
            <field name="count"/>
        </tree>
    </field>
</record>


</odoo>