lims_device_maintenance: add comments to maintenance program
This commit is contained in:
parent
480b2bbe6f
commit
65533420bf
|
@ -147,6 +147,10 @@ msgctxt "field:lims.lab.device.maintenance.program,start_date:"
|
|||
msgid "Start Date"
|
||||
msgstr "Fecha de inicio"
|
||||
|
||||
msgctxt "field:lims.lab.device.maintenance.program,comments:"
|
||||
msgid "Comments"
|
||||
msgstr "Observaciones"
|
||||
|
||||
msgctxt "field:lims.lab.device.maintenance.type,name:"
|
||||
msgid "Name"
|
||||
msgstr "Nombre"
|
||||
|
@ -404,6 +408,10 @@ msgctxt "view:lims.lab.device.maintenance.program:"
|
|||
msgid "Generate Maintenance Programs"
|
||||
msgstr "Generar programas de mantenimiento"
|
||||
|
||||
msgctxt "view:lims.lab.device.maintenance.program:"
|
||||
msgid "Comments"
|
||||
msgstr "Observaciones"
|
||||
|
||||
msgctxt "view:lims.lab.device.maintenance:"
|
||||
msgid "Comments"
|
||||
msgstr "Observaciones"
|
||||
|
|
|
@ -70,6 +70,7 @@ class LabDeviceMaintenanceProgram(EventCreator, ModelSQL, ModelView):
|
|||
notice_days = fields.Integer('Days to notify')
|
||||
latest_date = fields.Function(fields.Date('Latest scheduled date'),
|
||||
'get_latest_date')
|
||||
comments = fields.Text('Comments')
|
||||
|
||||
@classmethod
|
||||
def __register__(cls, module_name):
|
||||
|
|
|
@ -14,6 +14,8 @@
|
|||
<field name="responsible"/>
|
||||
<label name="latest_date"/>
|
||||
<field name="latest_date"/>
|
||||
<separator id="comments" string="Comments" colspan="4"/>
|
||||
<field name="comments" colspan="4"/>
|
||||
<group id="frequence" colspan="4" string="Frequence">
|
||||
<label name="frequence_selection"/>
|
||||
<field name="frequence_selection"/>
|
||||
|
|
Loading…
Reference in New Issue