[IMP] maintenance: Duration tooltip improvement

The view on maintenance show the duration with the hours as
UoM. However the tooltip explains that the duration is set
as minutes and second. This commit modify the tooltip in
order to be coherent with the view.
This commit is contained in:
Tejas Shahu
2018-12-11 16:04:35 +00:00
committed by Arnold Moyaux
parent b57f4411b8
commit 38b1debece
+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.")
@api.multi
def archive_equipment_request(self):