diff --git a/addons/maintenance/i18n/maintenance.pot b/addons/maintenance/i18n/maintenance.pot index 78a2a5a9797..561596ba52d 100644 --- a/addons/maintenance/i18n/maintenance.pot +++ b/addons/maintenance/i18n/maintenance.pot @@ -410,7 +410,7 @@ msgstr "" #. module: maintenance #: model:ir.model.fields,help:maintenance.field_maintenance_request__duration -msgid "Duration in minutes and seconds." +msgid "Duration in hours and minutes." msgstr "" #. module: maintenance diff --git a/addons/maintenance/models/maintenance.py b/addons/maintenance/models/maintenance.py index fe1335c1d31..7071f33d99b 100644 --- a/addons/maintenance/models/maintenance.py +++ b/addons/maintenance/models/maintenance.py @@ -302,7 +302,7 @@ class MaintenanceRequest(models.Model): maintenance_type = fields.Selection([('corrective', 'Corrective'), ('preventive', 'Preventive')], string='Maintenance Type', default="corrective") schedule_date = fields.Datetime('Scheduled Date', help="Date the maintenance team plans the maintenance. It should not differ much from the Request Date. ") maintenance_team_id = fields.Many2one('maintenance.team', string='Team', required=True, default=_get_default_team_id) - duration = fields.Float(help="Duration in minutes and seconds.") + duration = fields.Float(help="Duration in hours and minutes.") @api.multi def archive_equipment_request(self):