<?xml version="1.0"?>

<!--
SPDX-FileCopyrightText: 2008-2026 Luis Falcón <falcon@gnuhealth.org>
SPDX-FileCopyrightText: 2011-2026 GNU Solidario <health@gnusolidario.org>

SPDX-License-Identifier: GPL-3.0-or-later
-->

<tryton>
    <data>

        <record model="ir.ui.view" id="epidemics_report_open_start_view_form">
            <field name="model">gnuhealth.epidemics.report.open.start</field>
            <field name="type">form</field>
            <field name="name">epidemics_report_open_start_form</field>
        </record>

        <record model="ir.action.wizard" id="act_wizard_epidemics_report">
            <field name="name">Epidemiological Surveillance</field>
            <field name="wiz_name">gnuhealth.epidemics.report.open</field>
        </record>
        <!-- Shortcut to report from Institution Model -->
        <record model="ir.action.keyword" id="keyword_epidemics_report">
            <field name="keyword">form_print</field>
            <field name="model">gnuhealth.institution,-1</field>
            <field name="action" ref="act_wizard_epidemics_report"/>
        </record>

        <menuitem parent="health.gnuhealth_reporting_menu"
            action="act_wizard_epidemics_report" icon="gnuhealth-list"
            id="menu_institution_epidemics_report" sequence="1"/>

    </data>
</tryton>
