<?xml version="1.0" encoding="utf-8" ?>
<!-- Copyright 2017-2019 Onestein (<https://www.onestein.eu>)
     License AGPL-3.0 or later (https://www.gnu.org/licenses/agpl). -->
<odoo>
    <record id="res_config_settings_view_form" model="ir.ui.view">
        <field name="model">res.config.settings</field>
        <field name="inherit_id" ref="base.res_config_settings_view_form" />
        <field name="arch" type="xml">
            <xpath expr="//div[hasclass('settings')]" position="inside">
                <div
                    data-key="maintenance"
                    class="app_settings_block"
                    data-string="Maintenance"
                    string="Maintenance"
                    groups="maintenance.group_equipment_manager"
                >
                    <h2>Maintenance</h2>
                    <div
                        id="configure_maintenance"
                        class="row mt16 o_settings_container"
                        title="Configure Maintenance"
                    >
                    </div>
                </div>
            </xpath>
        </field>
    </record>
    <record id="action_maintenance_config_settings" model="ir.actions.act_window">
        <field name="name">General Settings</field>
        <field name="type">ir.actions.act_window</field>
        <field name="res_model">res.config.settings</field>
        <field name="view_mode">form</field>
        <field name="target">inline</field>
        <field name="context">{'module' : 'maintenance'}</field>
    </record>
    <menuitem
        id="menu_maintenance_config_settings"
        parent="maintenance.menu_maintenance_configuration"
        sequence="0"
        action="action_maintenance_config_settings"
        groups="maintenance.group_equipment_manager"
    />
</odoo>
