diff --git a/addons/fleet/models/fleet_vehicle.py b/addons/fleet/models/fleet_vehicle.py index 213c5716059b3c67d6a197630685030962c1ebe3..3e83b3eac3188ae0f580b39694f30940e4d958a4 100644 --- a/addons/fleet/models/fleet_vehicle.py +++ b/addons/fleet/models/fleet_vehicle.py @@ -192,12 +192,6 @@ class FleetVehicle(models.Model): else: self.image_medium = False - @api.model - def create(self, data): - vehicle = super(FleetVehicle, self.with_context(mail_create_nolog=True)).create(data) - vehicle.message_post(body=_('%s %s has been added to the fleet!') % (vehicle.model_id.name, vehicle.license_plate)) - return vehicle - @api.multi def write(self, vals): """