<?xml version="1.0"?>
<!-- This file is part of Tryton.  The COPYRIGHT file at the top level of
this repository contains the full copyright notices and license terms. -->
<tryton>
    <data>
        <record model="res.group" id="group_stock">
            <field name="name">Stock</field>
        </record>
        <record model="res.group" id="group_stock_admin">
            <field name="name">Stock Administration</field>
            <field name="parent" ref="group_stock"/>
        </record>
        <record model="res.group" id="group_stock_force_assignment">
            <field name="name">Stock Force Assignment</field>
            <field name="parent" ref="group_stock"/>
        </record>
        <record model="res.user-res.group"
            id="user_admin_group_stock_admin">
            <field name="user" ref="res.user_admin"/>
            <field name="group" ref="group_stock_admin"/>
        </record>
        <record model="res.user-res.group"
            id="user_admin_group_stock">
            <field name="user" ref="res.user_admin"/>
            <field name="group" ref="group_stock"/>
        </record>
        <record model="res.user-res.group"
            id="user_admin_group_stock_force_assignment">
            <field name="user" ref="res.user_admin"/>
            <field name="group" ref="group_stock_force_assignment"/>
        </record>

        <record model="ir.ui.icon" id="stock_icon">
            <field name="name">tryton-stock</field>
            <field name="path">icons/tryton-stock.svg</field>
        </record>
        <record model="ir.ui.icon" id="stock_shipment_in">
            <field name="name">tryton-shipment-in</field>
            <field name="path">icons/tryton-shipment-in.svg</field>
        </record>
        <record model="ir.ui.icon" id="stock_shipment_out">
            <field name="name">tryton-shipment-out</field>
            <field name="path">icons/tryton-shipment-out.svg</field>
        </record>

        <menuitem
            name="Inventory &amp; Stock"
            sequence="60"
            id="menu_stock"
            icon="tryton-stock"/>
        <record model="ir.ui.menu-res.group"
            id="menu_stock_group_stock">
            <field name="menu" ref="menu_stock"/>
            <field name="group" ref="group_stock"/>
        </record>

        <menuitem
            name="Configuration"
            parent="menu_stock"
            sequence="0"
            id="menu_configuration"
            icon="tryton-settings"/>
        <record model="ir.ui.menu-res.group"
            id="menu_configuration_group_stock_admin">
            <field name="menu" ref="menu_configuration"/>
            <field name="group" ref="group_stock_admin"/>
        </record>

        <menuitem
            name="Reporting"
            parent="menu_stock"
            sequence="100"
            id="menu_reporting"
            active="0"/>

    </data>
</tryton>
