first commit
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
<?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="measurements" colspan="4" string="Measurements"/>
|
||||
<label name="measurement_weight_uom" string="Weight"/>
|
||||
<field name="measurement_weight_uom"/>
|
||||
<label name="measurement_volume_uom" string="Volume"/>
|
||||
<field name="measurement_volume_uom"/>
|
||||
</xpath>
|
||||
</data>
|
||||
11
modules/stock_shipment_measurements/view/package_form.xml
Normal file
11
modules/stock_shipment_measurements/view/package_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="//page[@id='measurements']" position="inside">
|
||||
<label name="additional_weight"/>
|
||||
<field name="additional_weight"/>
|
||||
<field name="additional_weight_uom"/>
|
||||
<newline/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -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="/tree/field[@name='type']" position="after">
|
||||
<field name="weight" symbol="weight_uom"/>
|
||||
<field name="volume" symbol="volume_uom"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -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="/tree/field[@name='type']" position="after">
|
||||
<field name="total_weight" symbol="weight_uom"/>
|
||||
<field name="total_volume" symbol="volume_uom"/>
|
||||
</xpath>
|
||||
</data>
|
||||
13
modules/stock_shipment_measurements/view/shipment_form.xml
Normal file
13
modules/stock_shipment_measurements/view/shipment_form.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?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[@id='other']" position="inside">
|
||||
<separator id="measurements" colspan="4" string="Measurements"/>
|
||||
<label name="weight"/>
|
||||
<field name="weight"/>
|
||||
<label name="volume"/>
|
||||
<field name="volume"/>
|
||||
<newline/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -0,0 +1,13 @@
|
||||
<?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='weight']" position="after">
|
||||
<label name="packages_weight"/>
|
||||
<field name="packages_weight"/>
|
||||
</xpath>
|
||||
<xpath expr="//field[@name='volume']" position="after">
|
||||
<label name="packages_volume"/>
|
||||
<field name="packages_volume"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -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="/tree/field[@name='state']" position="before">
|
||||
<field name="weight" symbol="weight_uom" optional="1"/>
|
||||
<field name="volume" symbol="volume_uom" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
@@ -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="/tree/field[@name='weight']" position="after">
|
||||
<field name="packages_weight" optional="1"/>
|
||||
<field name="packages_volume" optional="1"/>
|
||||
</xpath>
|
||||
</data>
|
||||
12
modules/stock_shipment_measurements/view/stock_move_form.xml
Normal file
12
modules/stock_shipment_measurements/view/stock_move_form.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?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[@id='other']" position="inside">
|
||||
<separator string="Measurements" id="measurements" colspan="4"/>
|
||||
<label name="internal_weight"/>
|
||||
<field name="internal_weight"/>
|
||||
<label name="internal_volume"/>
|
||||
<field name="internal_volume"/>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user