diff --git a/__init__.py b/__init__.py
index 04b234b..c0f2c25 100644
--- a/__init__.py
+++ b/__init__.py
@@ -1,5 +1,6 @@
from trytond.pool import Pool
-from . import party, product, purchase, sale, equipment, subscription
+from . import (party, product, purchase, sale,
+ equipment, subscription, measurements)
def register():
Pool.register(
@@ -12,4 +13,5 @@ def register():
equipment.OpticalEquipment,
subscription.Subscription,
subscription.SubscriptionEquipment,
+ measurements.Measurements,
module='optical_equipment', type_='model')
diff --git a/measurements.py b/measurements.py
index ae255e7..2992ba7 100644
--- a/measurements.py
+++ b/measurements.py
@@ -1,4 +1,17 @@
+# This file is part of Tryton. The COPYRIGHT file at the top level of
+# this repository contains the full copyright notices and license terms.
+from trytond.model import fields
from trytond.pool import PoolMeta
class Measurements(metaclass=PoolMeta):
- __name__ = 'product.measurements'
+ __name__ = 'product.template'
+
+ temperature = fields.Float("Temperature")
+ temperature_uom = fields.Many2One('product.uom', "Temperature UOM")
+ voltageAC = fields.Float("Voltage AC")
+ voltageAC_uom = fields.Many2One('product.uom', "Voltage AC UOM")
+ voltageDC = fields.Float("Voltage DC")
+ voltageDC_uom = fields.Many2One('product.uom', "Voltage DC UOM")
+
+
+
diff --git a/measurements.xml b/measurements.xml
new file mode 100644
index 0000000..41bfdb7
--- /dev/null
+++ b/measurements.xml
@@ -0,0 +1,9 @@
+
+
+
+
+ product.template
+
+ template_form
+
+
diff --git a/view/template_form.xml b/view/template_form.xml
index 311d412..aa75bf3 100644
--- a/view/template_form.xml
+++ b/view/template_form.xml
@@ -40,4 +40,17 @@ this repository contains the full copyright notices and license terms. -->
+
+
+
+
+
+
+
+
+
+
+
+
+