diff --git a/lims_device_maintenance/locale/es.po b/lims_device_maintenance/locale/es.po index d2bd0ba..732295c 100644 --- a/lims_device_maintenance/locale/es.po +++ b/lims_device_maintenance/locale/es.po @@ -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" diff --git a/lims_device_maintenance/maintenance.py b/lims_device_maintenance/maintenance.py index cdfac5e..94703af 100644 --- a/lims_device_maintenance/maintenance.py +++ b/lims_device_maintenance/maintenance.py @@ -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): diff --git a/lims_device_maintenance/view/lab_device_maintenance_program_form.xml b/lims_device_maintenance/view/lab_device_maintenance_program_form.xml index c9350cf..b1c4367 100644 --- a/lims_device_maintenance/view/lab_device_maintenance_program_form.xml +++ b/lims_device_maintenance/view/lab_device_maintenance_program_form.xml @@ -14,6 +14,8 @@