<?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="ir.ui.icon" id="stock_split_icon">
            <field name="name">tryton-stock-split</field>
            <field name="path">icons/tryton-stock-split.svg</field>
        </record>

        <record model="ir.action.wizard" id="wizard_split_move">
            <field name="name">Split Move</field>
            <field name="wiz_name">stock.move.split</field>
            <field name="model">stock.move</field>
        </record>

        <record model="ir.ui.view" id="move_view_form">
            <field name="model">stock.move</field>
            <field name="inherit" ref="stock.move_view_form"/>
            <field name="name">move_form</field>
        </record>

        <record model="ir.ui.view" id="move_view_tree">
            <field name="model">stock.move</field>
            <field name="inherit" ref="stock.move_view_tree"/>
            <field name="name">move_tree</field>
        </record>

        <record model="ir.ui.view" id="move_view_list_shipment_in">
            <field name="model">stock.move</field>
            <field name="inherit" ref="stock.move_view_list_shipment_in"/>
            <field name="name">move_tree</field>
        </record>

        <record model="ir.ui.view" id="move_view_list_shipment">
            <field name="model">stock.move</field>
            <field name="inherit" ref="stock.move_view_list_shipment"/>
            <field name="name">move_tree</field>
        </record>

        <record model="ir.ui.view" id="split_start_view_form">
            <field name="model">stock.move.split.start</field>
            <field name="type">form</field>
            <field name="name">split_start_form</field>
        </record>
        <record model="ir.model.button" id="move_split_wizard_button">
            <field name="model">stock.move</field>
            <field name="name">split_wizard</field>
            <field name="string">Split</field>
        </record>

        <record model="ir.ui.view" id="shipment_in_return_view_form">
            <field name="model">stock.shipment.in.return</field>
            <field name="inherit" ref="stock.shipment_in_return_view_form"/>
            <field name="name">shipment_split_form</field>
        </record>

        <record model="ir.model.button" id="shipment_in_return_split_wizard_button">
            <field name="model">stock.shipment.in.return</field>
            <field name="name">split_wizard</field>
            <field name="string">Split</field>
        </record>

        <record model="ir.ui.view" id="shipment_out_view_form">
            <field name="model">stock.shipment.out</field>
            <field name="inherit" ref="stock.shipment_out_view_form"/>
            <field name="name">shipment_split_form</field>
        </record>

        <record model="ir.model.button" id="shipment_out_split_wizard_button">
            <field name="model">stock.shipment.out</field>
            <field name="name">split_wizard</field>
            <field name="string">Split</field>
        </record>

        <record model="ir.ui.view" id="shipment_internal_view_form">
            <field name="model">stock.shipment.internal</field>
            <field name="inherit" ref="stock.shipment_internal_view_form"/>
            <field name="name">shipment_split_form</field>
        </record>

        <record model="ir.model.button" id="shipment_internal_split_wizard_button">
            <field name="model">stock.shipment.internal</field>
            <field name="name">split_wizard</field>
            <field name="string">Split</field>
        </record>

        <record model="ir.action.wizard" id="wizard_split_shipment">
            <field name="name">Split Shipment</field>
            <field name="wiz_name">stock.shipment.split</field>
        </record>

        <record model="ir.ui.view" id="shipment_split_start_view_form">
            <field name="model">stock.shipment.split.start</field>
            <field name="type">form</field>
            <field name="name">shipment_split_start_form</field>
        </record>
    </data>
</tryton>
