Allow to define fleet vehicles on Purchase Orders in order to inherit them properly
auto_awesome What this module does
AI-generated from the code · Odoo 19.0Lets you link a fleet vehicle to purchase orders and their lines, so vehicle costs can be tracked from purchasing. Vehicle records show a button with the number of related purchase orders.
This module connects purchasing with fleet vehicles. On a purchase order you get a new "Vehicle" field next to the vendor reference, where you can pick the fleet vehicle the purchase is for.
On the order lines, the vehicle is filled in automatically from the order's vehicle, and the line field is locked while that link is active. You can still set a different vehicle on a line when the order itself has no vehicle, and the line column is hidden by default but can be shown.
On the vehicle form, a new stat button shows how many purchase orders are linked to that vehicle. Clicking it opens the list of those purchase orders. The button only appears when at least one order exists.
When a purchase order line is invoiced, the vehicle is carried over to the resulting accounting entry line, so vehicle costs appear in accounting as well.
You can also search purchase orders by vehicle, thanks to a new filter field in the purchase order search view. The module touches fleet.vehicle, purchase.order and purchase.order.line.
Depends on
Required by other modules
Models and fields (3)
- fleet.vehicle · extends an existing modelpurchase_order_ids, purchase_order_count
- purchase.order · extends an existing modelfleet_vehicle_id (Vehicle)
- purchase.order.line · extends an existing modelfleet_vehicle_id, fleet_vehicle_from_po
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: 4 confirmed, 5 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.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.