[IMP] fleet: changed duplicate field label in the same model

This commit is contained in:
Kinjal Mehta
2018-01-04 17:56:53 +05:30
parent c9fcbd60a5
commit 092bb2bd5c
+2 -2
View File
@@ -27,9 +27,9 @@ class FleetVehicle(models.Model):
log_services = fields.One2many('fleet.vehicle.log.services', 'vehicle_id', 'Services Logs')
log_contracts = fields.One2many('fleet.vehicle.log.contract', 'vehicle_id', 'Contracts')
cost_count = fields.Integer(compute="_compute_count_all", string="Costs")
contract_count = fields.Integer(compute="_compute_count_all", string='Contracts')
contract_count = fields.Integer(compute="_compute_count_all", string='# of Contracts')
service_count = fields.Integer(compute="_compute_count_all", string='Services')
fuel_logs_count = fields.Integer(compute="_compute_count_all", string='Fuel Logs')
fuel_logs_count = fields.Integer(compute="_compute_count_all", string='# of Fuel Logs')
odometer_count = fields.Integer(compute="_compute_count_all", string='Odometer')
acquisition_date = fields.Date('Immatriculation Date', required=False, help='Date when the vehicle has been immatriculated')
color = fields.Char(help='Color of the vehicle')