Fix: Clean Home
This commit is contained in:
parent
0c306a8574
commit
cbc273be00
@ -113,20 +113,17 @@ class MaintenanceService(Workflow, ModelSQL, ModelView):
|
|||||||
)
|
)
|
||||||
rec_name = fields.Function(fields.Char('rec_name'), 'get_rec_name')
|
rec_name = fields.Function(fields.Char('rec_name'), 'get_rec_name')
|
||||||
temperature_min = fields.Float(
|
temperature_min = fields.Float(
|
||||||
'Temp Min'
|
'Temp Min', states=_states)
|
||||||
)
|
|
||||||
temperature_max = fields.Float(
|
temperature_max = fields.Float(
|
||||||
'Temp Max'
|
'Temp Max', states=_states)
|
||||||
)
|
|
||||||
temperature_uom = fields.Many2One(
|
temperature_uom = fields.Many2One(
|
||||||
'product.uom',
|
'product.uom',
|
||||||
'Temperature UOM',
|
'Temperature UOM',
|
||||||
domain=[
|
domain=[
|
||||||
('category', '=', Id('optical_equipment', 'uom_cat_temperature'))
|
('category', '=', Id('optical_equipment', 'uom_cat_temperature'))
|
||||||
],
|
], states=_states)
|
||||||
)
|
moisture_min = fields.Float('Moisture Min', states=_states)
|
||||||
moisture_min = fields.Float('Moisture Min')
|
moisture_max = fields.Float('Moisture Max', states=_states)
|
||||||
moisture_max = fields.Float('Moisture Max')
|
|
||||||
moisture_uom = fields.Many2One(
|
moisture_uom = fields.Many2One(
|
||||||
'product.uom',
|
'product.uom',
|
||||||
'Moisture UOM',
|
'Moisture UOM',
|
||||||
@ -134,8 +131,7 @@ class MaintenanceService(Workflow, ModelSQL, ModelView):
|
|||||||
('category', '=',
|
('category', '=',
|
||||||
Id('optical_equipment', 'uom_cat_relative_humedity'))
|
Id('optical_equipment', 'uom_cat_relative_humedity'))
|
||||||
],
|
],
|
||||||
)
|
states=_states)
|
||||||
|
|
||||||
technician_responsible = fields.Char('Technician Responsible')
|
technician_responsible = fields.Char('Technician Responsible')
|
||||||
invima = fields.Char('Invima')
|
invima = fields.Char('Invima')
|
||||||
technician_signature = fields.Binary('Technician Signature')
|
technician_signature = fields.Binary('Technician Signature')
|
||||||
|
Loading…
Reference in New Issue
Block a user