first commit
This commit is contained in:
11
modules/stock_package/view/configuration_form.xml
Normal file
11
modules/stock_package/view/configuration_form.xml
Normal file
@@ -0,0 +1,11 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="/form" position="inside">
|
||||
<separator id="package" colspan="4" string="Package"/>
|
||||
<label name="package_sequence" string="Sequence"/>
|
||||
<field name="package_sequence"/>
|
||||
<newline/>
|
||||
</xpath>
|
||||
</data>
|
||||
46
modules/stock_package/view/package_form.xml
Normal file
46
modules/stock_package/view/package_form.xml
Normal file
@@ -0,0 +1,46 @@
|
||||
<?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. -->
|
||||
<form>
|
||||
<label name="type"/>
|
||||
<field name="type" widget="selection"/>
|
||||
<label name="number"/>
|
||||
<field name="number"/>
|
||||
<label name="parent"/>
|
||||
<field name="parent"/>
|
||||
<label name="company"/>
|
||||
<field name="company"/>
|
||||
<label name="shipment"/>
|
||||
<field name="shipment"/>
|
||||
<notebook colspan="4">
|
||||
<page name="moves">
|
||||
<field name="moves" colspan="4" widget="many2many"/>
|
||||
</page>
|
||||
<page name="children">
|
||||
<field name="children" colspan="4"/>
|
||||
</page>
|
||||
<page string="Measurements" col="3" id="measurements">
|
||||
<label name="length"/>
|
||||
<field name="length"/>
|
||||
<field name="length_uom" widget="selection"/>
|
||||
|
||||
<label name="height"/>
|
||||
<field name="height"/>
|
||||
<field name="height_uom" widget="selection"/>
|
||||
|
||||
<label name="width"/>
|
||||
<field name="width"/>
|
||||
<field name="width_uom" widget="selection"/>
|
||||
|
||||
<label name="packaging_volume"/>
|
||||
<field name="packaging_volume"/>
|
||||
<field name="packaging_volume_uom" widget="selection"/>
|
||||
|
||||
<label name="packaging_weight"/>
|
||||
<field name="packaging_weight"/>
|
||||
<field name="packaging_weight_uom"/>
|
||||
</page>
|
||||
</notebook>
|
||||
<label name="state"/>
|
||||
<field name="state"/>
|
||||
</form>
|
||||
10
modules/stock_package/view/package_list.xml
Normal file
10
modules/stock_package/view/package_list.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?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. -->
|
||||
<tree>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="shipment" expand="1"/>
|
||||
<field name="rec_name" expand="1"/>
|
||||
<field name="type"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
10
modules/stock_package/view/package_tree.xml
Normal file
10
modules/stock_package/view/package_tree.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?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. -->
|
||||
<tree>
|
||||
<field name="company" expand="1" optional="1"/>
|
||||
<field name="shipment" expand="1"/>
|
||||
<field name="rec_name" expand="1"/>
|
||||
<field name="type"/>
|
||||
<field name="state"/>
|
||||
</tree>
|
||||
32
modules/stock_package/view/package_type_form.xml
Normal file
32
modules/stock_package/view/package_type_form.xml
Normal file
@@ -0,0 +1,32 @@
|
||||
<?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. -->
|
||||
<form>
|
||||
<label name="name"/>
|
||||
<field name="name"/>
|
||||
<label name="active"/>
|
||||
<field name="active"/>
|
||||
<notebook colspan="4">
|
||||
<page string="Measurements" col="3" id="measurements">
|
||||
<label name="length"/>
|
||||
<field name="length"/>
|
||||
<field name="length_uom" widget="selection"/>
|
||||
|
||||
<label name="height"/>
|
||||
<field name="height"/>
|
||||
<field name="height_uom" widget="selection"/>
|
||||
|
||||
<label name="width"/>
|
||||
<field name="width"/>
|
||||
<field name="width_uom" widget="selection"/>
|
||||
|
||||
<label name="packaging_volume"/>
|
||||
<field name="packaging_volume"/>
|
||||
<field name="packaging_volume_uom" widget="selection"/>
|
||||
|
||||
<label name="packaging_weight"/>
|
||||
<field name="packaging_weight"/>
|
||||
<field name="packaging_weight_uom" widget="selection"/>
|
||||
</page>
|
||||
</notebook>
|
||||
</form>
|
||||
6
modules/stock_package/view/package_type_list.xml
Normal file
6
modules/stock_package/view/package_type_list.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?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. -->
|
||||
<tree>
|
||||
<field name="name" expand="1"/>
|
||||
</tree>
|
||||
9
modules/stock_package/view/shipment_in_return_form.xml
Normal file
9
modules/stock_package/view/shipment_in_return_form.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='moves']" position="after">
|
||||
<field name="root_packages" colspan="4"
|
||||
view_ids="stock_package.package_view_tree"/>
|
||||
</xpath>
|
||||
</data>
|
||||
8
modules/stock_package/view/shipment_internal_form.xml
Normal file
8
modules/stock_package/view/shipment_internal_form.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="//page[@name='outgoing_moves']" position="inside">
|
||||
<field name="root_packages" colspan="4" view_ids="stock_package.package_view_tree"/>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/stock_package/view/shipment_out_form.xml
Normal file
9
modules/stock_package/view/shipment_out_form.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="/form/notebook/page[@id='outgoing_moves']" position="inside">
|
||||
<field name="root_packages" colspan="4"
|
||||
view_ids="stock_package.package_view_tree"/>
|
||||
</xpath>
|
||||
</data>
|
||||
9
modules/stock_package/view/stock_move_form.xml
Normal file
9
modules/stock_package/view/stock_move_form.xml
Normal file
@@ -0,0 +1,9 @@
|
||||
<?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. -->
|
||||
<data>
|
||||
<xpath expr="//field[@name='origin']" position="after">
|
||||
<label name="package"/>
|
||||
<field name="package"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user