first commit
This commit is contained in:
@@ -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="//field[@name='formula']" position="after">
|
||||
<label name="volume_uom"/>
|
||||
<field name="volume_uom" widget="selection"/>
|
||||
<label name="weight_uom"/>
|
||||
<field name="weight_uom" widget="selection"/>
|
||||
</xpath>
|
||||
</data>
|
||||
30
modules/product_measurements/view/template_form.xml
Normal file
30
modules/product_measurements/view/template_form.xml
Normal file
@@ -0,0 +1,30 @@
|
||||
<?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" position="inside">
|
||||
<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="volume"/>
|
||||
<field name="volume"/>
|
||||
<field name="volume_uom" widget="selection"/>
|
||||
|
||||
<label name="weight"/>
|
||||
<field name="weight"/>
|
||||
<field name="weight_uom" widget="selection"/>
|
||||
|
||||
<label id="measurements_help" string="Measurements for 1 default UoM." xalign="0" colspan="3"/>
|
||||
</page>
|
||||
</xpath>
|
||||
</data>
|
||||
Reference in New Issue
Block a user