Files
tryton/stock.xml
T
Cédric Krier edd4366ac9 Manage shipping for supplier shipment returns
We move the shipping code in mixin's such that it can be applied on other
shipments.
We define properties to abstract the information needed by the create shipping
wizards. Such that they can be execute on any shipment.

issue9850
review324521002
2020-12-20 19:54:48 +01:00

56 lines
2.4 KiB
XML

<?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="package_type_view_form">
<field name="model">stock.package.type</field>
<field name="inherit" ref="stock_package.package_type_view_form"/>
<field name="name">package_type_form</field>
</record>
<record model="ir.ui.view" id="package_view_form">
<field name="model">stock.package</field>
<field name="inherit" ref="stock_package.package_view_form"/>
<field name="name">package_form</field>
</record>
<record model="ir.ui.view" id="package_view_tree">
<field name="model">stock.package</field>
<field name="inherit" ref="stock_package.package_view_tree"/>
<field name="name">package_list</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_out_form</field>
</record>
<record model="ir.model.button"
id="shipment_out_create_shipping_button">
<field name="name">create_shipping</field>
<field name="string">Create Shipping for Packages</field>
<field name="model"
search="[('model', '=', 'stock.shipment.out')]"/>
</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_in_return_form</field>
</record>
<record model="ir.model.button" id="shipment_in_return_create_shipping_button">
<field name="name">create_shipping</field>
<field name="string">Create Shipping for Packages</field>
<field name="model" search="[('model', '=', 'stock.shipment.in.return')]"/>
</record>
<record model="ir.action.wizard" id="act_create_shipping_wizard">
<field name="name">Create Shipping</field>
<field name="wiz_name">stock.shipment.create_shipping</field>
</record>
</data>
</tryton>