Ir al contenido
Menú
Se marcó esta pregunta
2 Respuestas
2295 Vistas

Hi,

i wanna delete a vehicle on my vehicle's list in fleet management module on Odoo, when i click on delete, an error message shows up, it says that it is impossible to delete.

so it can be deleted, i shoud delete the odometer and costs on that vehicle.

is it possible to delete the vehicle directly?

Avatar
Descartar
Autor Mejor respuesta

Actually i have done this, so there is no way to delete it without doing these steps?

Avatar
Descartar

No. And this is valid for almost all objects because of the manifold interdependencies and relationships. Recommended way is to inactivate/archive such objects.

Indeed - Archiving is always better than deleting.

Mejor respuesta

Hi,

I think you have to delete its related records such as fuel, service etc. First clicking those smart buttons and delete all the related records which reference this fleet.

So after deleting the related records such as Cost, fuel and Service , delete the fleet.

Thanks

Avatar
Descartar