[FIX] fleet: update state order
Expired should come after expiring soon. Linked to task ID 1878153.
This commit is contained in:
@@ -110,8 +110,8 @@ class FleetVehicleLogContract(models.Model):
|
||||
state = fields.Selection([
|
||||
('futur', 'Incoming'),
|
||||
('open', 'In Progress'),
|
||||
('expired', 'Expired'),
|
||||
('diesoon', 'Expiring Soon'),
|
||||
('expired', 'Expired'),
|
||||
('closed', 'Closed')
|
||||
], 'Status', default='open', readonly=True,
|
||||
help='Choose whether the contract is still valid or not',
|
||||
|
||||
Reference in New Issue
Block a user