[FIX] maintenance: tooltip showing wrong informations

opw-1943556

closes odoo/odoo#31439
This commit is contained in:
snd
2019-02-27 08:38:11 +00:00
parent 339bf145ce
commit 2181a9fb96
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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):