diff options
| author | snd <snd@odoo.com> | 2019-02-26 15:00:13 +0000 |
|---|---|---|
| committer | snd <snd@odoo.com> | 2019-02-27 08:38:11 +0000 |
| commit | 2181a9fb964f9a3d1e360b7c12a00ddf8dc03834 (patch) | |
| tree | 8942b796bcc3b5373aee54bc9b1561bf40d734b7 | |
| parent | 339bf145ced6fb30f10d6d2941cfdaadf594d426 (diff) | |
[FIX] maintenance: tooltip showing wrong informations
opw-1943556
closes odoo/odoo#31439
| -rw-r--r-- | addons/maintenance/i18n/maintenance.pot | 2 | ||||
| -rw-r--r-- | addons/maintenance/models/maintenance.py | 2 |
2 files changed, 2 insertions, 2 deletions
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): |
