18 lines
640 B
Python
18 lines
640 B
Python
# 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.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")
|
|
|
|
|
|
|