Odoo only assign the start date on vehicle's drivers history when a new driver is assigned, this module also will assign automatically the end date in previous vehicle's driver histories when a new driver is assigned to the vehicle.
auto_awesome What this module does
AI-generated from the code · Odoo 19.0When a new driver is assigned to a vehicle, this module automatically fills in the end date of the previous driver's history line, so the vehicle's driver history stays complete without manual editing.
In Odoo Fleet, each time a driver is assigned to a vehicle a history line is created with a start date, but the previous line was left open with no end date. This module closes that gap automatically.
- When a new driver assignment is saved on a vehicle, the module looks for any other history line for the same vehicle that still has no end date.
- Those open lines are then given an end date equal to the start date of the new assignment, so the periods follow each other without overlap or gaps.
- The change happens behind the scenes when the assignment is created; no extra button or screen is needed.
It only touches the vehicle driver history records (fleet.vehicle.assignation.log) and adds no new menus, reports or settings. Users keep working the same way in the Fleet app; the difference is that the driver history of a vehicle is now correctly dated, which makes it easier to see who drove a vehicle and during which period.
Depends on
Models and fields (1)
- fleet.vehicle.assignation.log · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub
Availability by version
Reviewed: 2026-11-03Confirmation status: 8 confirmed, 1 with no information of 9 versions.
Sources · Odoo 15.0
Confirmed on 2026-11-03 in branch 15.0 of OCA/fleet.
terminal Installation and usage
No verified informationInstallation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.