hi all,
i add a field 'hour' on fleet.vehicule and fleet.vehicule.odometre so to the system save the value of hour on creating a new car i modify save button like that :
@api.multi def create(self):
vehicle=self.env['fleet.vehicle.odometer'].create({'nombre_heure1' : self.nombre_heure})
result = super(fleet_vehicle_hour, self).create()
return result
but i get this error : ValueError: Expected singleton