<?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.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_form</field>
        </record>

        <record model="ir.model.button" id="shipment_in_return_assign_manual_wizard_button">
            <field name="model">stock.shipment.in.return</field>
            <field name="name">assign_manual_wizard</field>
            <field name="string">Manual Assign</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_form</field>
        </record>

        <record model="ir.model.button" id="shipment_out_assign_manual_wizard_button">
            <field name="model">stock.shipment.out</field>
            <field name="name">assign_manual_wizard</field>
            <field name="string">Manual Assign</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_form</field>
        </record>

        <record model="ir.model.button" id="shipment_internal_assign_manual_wizard_button">
            <field name="model">stock.shipment.internal</field>
            <field name="name">assign_manual_wizard</field>
            <field name="string">Manual Assign</field>
        </record>

        <record model="ir.action.wizard" id="wizard_shipment_in_return_assign_manual">
            <field name="name">Manual Assign Supplier Return Shipment</field>
            <field name="wiz_name">stock.shipment.assign.manual</field>
            <field name="model">stock.shipment.in.return</field>
        </record>
        <record model="ir.action.wizard" id="wizard_shipment_out_assign_manual">
            <field name="name">Manual Assign Customer Shipment</field>
            <field name="wiz_name">stock.shipment.assign.manual</field>
            <field name="model">stock.shipment.out</field>
        </record>
        <record model="ir.action.wizard" id="wizard_shipment_internal_assign_manual">
            <field name="name">Manual Assign Internal Shipment</field>
            <field name="wiz_name">stock.shipment.assign.manual</field>
            <field name="model">stock.shipment.internal</field>
        </record>

        <record model="ir.ui.view" id="shipment_assign_manual_show_view_form">
            <field name="model">stock.shipment.assign.manual.show</field>
            <field name="type">form</field>
            <field name="name">shipment_assign_manual_show_form</field>
        </record>

        <record model="ir.action.wizard" id="wizard_shipment_unassign_manual">
            <field name="name">Manually Unassign Shipment</field>
            <field name="wiz_name">stock.shipment.unassign.manual</field>
        </record>
        <record model="ir.action.keyword" id="shipment_in_return_unassign_manual_keyword">
            <field name="keyword">form_action</field>
            <field name="model">stock.shipment.in.return,-1</field>
            <field name="action" ref="wizard_shipment_unassign_manual"/>
        </record>
        <record model="ir.action.keyword" id="shipment_out_unassign_manual_keyword">
            <field name="keyword">form_action</field>
            <field name="model">stock.shipment.out,-1</field>
            <field name="action" ref="wizard_shipment_unassign_manual"/>
        </record>
        <record model="ir.action.keyword" id="shipment_internal_unassign_manual_keyword">
            <field name="keyword">form_action</field>
            <field name="model">stock.shipment.internal,-1</field>
            <field name="action" ref="wizard_shipment_unassign_manual"/>
        </record>

        <record model="ir.ui.view" id="shipment_unassign_manual_show_view_form">
            <field name="model">stock.shipment.unassign.manual.show</field>
            <field name="type">form</field>
            <field name="name">shipment_unassign_manual_show_form</field>
        </record>

        <record model="ir.ui.view" id="shipment_assigned_move_view_form">
            <field name="model">stock.shipment.assigned.move</field>
            <field name="type">form</field>
            <field name="name">shipment_assigned_move_form</field>
        </record>
        <record model="ir.ui.view" id="shipment_assigned_move_view_list">
            <field name="model">stock.shipment.assigned.move</field>
            <field name="type">tree</field>
            <field name="name">shipment_assigned_move_list</field>
        </record>
    </data>
</tryton>
