fix: Se elimana campo sin uso 'diary' de optical_equipment.maintenance
This commit is contained in:
parent
4fee49cb2e
commit
783984ad0d
1
diary.py
1
diary.py
@ -7,7 +7,6 @@ class Diary(ModelSQL, ModelView):
|
|||||||
__name__ = 'optical_equipment_maintenance.diary'
|
__name__ = 'optical_equipment_maintenance.diary'
|
||||||
_rec_name = 'code'
|
_rec_name = 'code'
|
||||||
|
|
||||||
diary = fields.Many2One('optical_equipment.equipment', 'Diary')
|
|
||||||
code = fields.Char("Code", states={'readonly': True})
|
code = fields.Char("Code", states={'readonly': True})
|
||||||
date_expected = fields.DateTime("Expected Date", required=True)
|
date_expected = fields.DateTime("Expected Date", required=True)
|
||||||
date_estimated = fields.DateTime("Estimated Date")
|
date_estimated = fields.DateTime("Estimated Date")
|
||||||
|
@ -309,8 +309,7 @@ class MaintenanceServiceLine(Workflow, ModelSQL, ModelView):
|
|||||||
('propietary_address', '=', Eval('propietary_address'))],
|
('propietary_address', '=', Eval('propietary_address'))],
|
||||||
states=_states,)
|
states=_states,)
|
||||||
equipment_calibrate = fields.Boolean("Calibrate Equipment", states={'readonly': True})
|
equipment_calibrate = fields.Boolean("Calibrate Equipment", states={'readonly': True})
|
||||||
# when the maintenance is in agended status
|
|
||||||
diary = fields.One2Many('optical_equipment_maintenance.diary', 'diary')
|
|
||||||
# Preventive maintenance
|
# Preventive maintenance
|
||||||
initial_operation = fields.Boolean("Verificación inicial de funcionamiento")
|
initial_operation = fields.Boolean("Verificación inicial de funcionamiento")
|
||||||
check_equipment = fields.Boolean("Revisión del Equipo")
|
check_equipment = fields.Boolean("Revisión del Equipo")
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
<label name="service_maintenance"/>
|
<label name="service_maintenance"/>
|
||||||
<field name="service_maintenance"/>
|
<field name="service_maintenance"/>
|
||||||
<label name="equipment_calibrate"/>
|
<label name="equipment_calibrate"/>
|
||||||
<field name="equipment_calibrate"/>
|
<field name="equipment_calibrate"/>
|
||||||
<newline/>
|
<newline/>
|
||||||
<label name="description_activity"/>
|
<label name="description_activity"/>
|
||||||
<field name="description_activity" colspan="3"/>
|
<field name="description_activity" colspan="3"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user