[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:
committed by
Arnold Moyaux
parent
b57f4411b8
commit
38b1debece
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user