<?xml version="1.0"?>
<tryton>
    <data>

<!-- Results Report Version Detail -->

        <record model="ir.ui.view" id="results_report_version_detail_view_list">
            <field name="model">lims.results_report.version.detail</field>
            <field name="inherit" ref="lims.lims_results_report_version_detail_view_list"/>
            <field name="name">results_report_version_detail_list</field>
        </record>
        <record model="ir.ui.view" id="results_report_version_detail_view_form">
            <field name="model">lims.results_report.version.detail</field>
            <field name="inherit" ref="lims.lims_results_report_version_detail_view_form"/>
            <field name="name">results_report_version_detail_form</field>
        </record>

<!-- Results Report Version Detail Section -->

        <record model="ir.ui.view" id="results_report_version_detail_section_view_form">
            <field name="model">lims.results_report.version.detail.section</field>
            <field name="type">form</field>
            <field name="name">results_report_version_detail_section_form</field>
        </record>
        <record model="ir.ui.view" id="results_report_version_detail_section_view_list">
            <field name="model">lims.results_report.version.detail.section</field>
            <field name="type">tree</field>
            <field name="name">results_report_version_detail_section_list</field>
        </record>

<!-- Results Report Version Detail Trend Chart -->

        <record model="ir.ui.view" id="results_report_version_detail_chart_view_form">
            <field name="model">lims.results_report.version.detail.trend.chart</field>
            <field name="type">form</field>
            <field name="name">results_report_version_detail_chart_form</field>
        </record>
        <record model="ir.ui.view" id="results_report_version_detail_chart_view_list">
            <field name="model">lims.results_report.version.detail.trend.chart</field>
            <field name="type">tree</field>
            <field name="name">results_report_version_detail_chart_list</field>
        </record>

<!-- Results Report -->

        <record model="ir.action.report" id="report_result_report">
            <field name="name">Results Report</field>
            <field name="model">lims.results_report.version.detail</field>
            <field name="report_name">lims.result_report</field>
            <field name="report">lims_report_html/report/results_report.html</field>
            <field name="extension">pdf</field>
            <field name="template_extension">results</field>
        </record>

<!-- Wizard Generate Results Report -->

        <record model="ir.ui.view" id="notebook_generate_results_report_view_form">
            <field name="model">lims.notebook.generate_results_report.start</field>
            <field name="inherit" ref="lims.notebook_generate_results_report_view_form"/>
            <field name="name">notebook_generate_results_report_form</field>
        </record>

    </data>
</tryton>
