add measurements
This commit is contained in:
parent
52797612ce
commit
a140d69578
@ -8,6 +8,10 @@ class Measurements(metaclass=PoolMeta):
|
|||||||
|
|
||||||
temperature = fields.Float("Temperature")
|
temperature = fields.Float("Temperature")
|
||||||
temperature_uom = fields.Many2One('product.uom', "Temperature UOM")
|
temperature_uom = fields.Many2One('product.uom', "Temperature UOM")
|
||||||
|
frequency = fields.Float("Frequency")
|
||||||
|
frequency_uom = fields.Many2One('product.uom', "Frequency UOM")
|
||||||
|
wet = fields.Float("Wet")
|
||||||
|
wet_uom = fields.Many2One('product.uom', "Wet UOM")
|
||||||
voltageAC = fields.Float("Voltage AC")
|
voltageAC = fields.Float("Voltage AC")
|
||||||
voltageAC_uom = fields.Many2One('product.uom', "Voltage AC UOM")
|
voltageAC_uom = fields.Many2One('product.uom', "Voltage AC UOM")
|
||||||
voltageDC = fields.Float("Voltage DC")
|
voltageDC = fields.Float("Voltage DC")
|
||||||
|
@ -41,10 +41,24 @@ this repository contains the full copyright notices and license terms. -->
|
|||||||
</page>
|
</page>
|
||||||
</xpath>
|
</xpath>
|
||||||
<xpath expr="/form/notebook/page[@id='measurements']" position="inside">
|
<xpath expr="/form/notebook/page[@id='measurements']" position="inside">
|
||||||
|
|
||||||
|
<separator id="enviromental_conditions" string="Enviromental Conditions" colspan="4"/>
|
||||||
|
|
||||||
<label name="temperature"/>
|
<label name="temperature"/>
|
||||||
<field name="temperature"/>
|
<field name="temperature"/>
|
||||||
<field name="temperature_uom"/>
|
<field name="temperature_uom"/>
|
||||||
|
|
||||||
|
<label name="wet"/>
|
||||||
|
<field name="wet"/>
|
||||||
|
<field name="wet_uom"/>
|
||||||
|
|
||||||
|
<separator id="electrical_conditions" string="Electrical Conditions" colspan="4"/>
|
||||||
|
|
||||||
|
<label name="frequency"/>
|
||||||
|
<field name="frequency"/>
|
||||||
|
<field name="frequency_uom"/>
|
||||||
|
|
||||||
|
|
||||||
<label name="voltageAC"/>
|
<label name="voltageAC"/>
|
||||||
<field name="voltageAC"/>
|
<field name="voltageAC"/>
|
||||||
<field name="voltageAC_uom"/>
|
<field name="voltageAC_uom"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user