Fleet - Odoo 20 Community Book

Before You Start: Configuration

A vehicle needs a model, and a model needs a manufacturer. Odoo comes with a long list of manufacturers, so in most cases you only add your models. The other lists (categories, tags, statuses, types of contract and of service) are small, and they are all under Configuration.

Settings

Configuration > Settings has one setting, End Date Contract Alert. It says how many days before the end of a contract Odoo should send the alert. The value is 30. In section 3.4 you see what the alert does.

odoo Development

Manufacturers

Configuration > Models > Manufacturers shows the brands as cards, with the logo and the number of models. The list opens with the filter With Models, so it shows only the brands that you use: Ford, Renault and Toyota, one model each. Remove the filter and you see all the brands that Odoo knows. The icon at the top right of the screen changes between cards and a list. Click New to add a brand that is not in the list.

odoo Development

Models

Configuration > Models > Models lists the models, grouped by manufacturer. The columns are Manufacturer, Model name, Vehicles (how many vehicles of this model), Category and Vehicle Type.

odoo Development

Click New, or open a model. We made three: Transit (Ford), Zoe (Renault) and Corolla (Toyota). The numbers of the picture are explained below.

odoo Development

Vehicles (1). A smart button with the number of vehicles of this model. A click opens them, filtered on the model.

Model name (2). Transit. The manufacturer comes before it, so the full name is Ford/Transit.

Manufacturer (3). Required. Ford.

Vehicle Type (4). Car, Bike or Other. For a bike, the vehicle form shows other fields (section 2.5).

Category (5). A group such as Delivery Van or City Car (section 1.4).

Company (6). Empty means visible to all the companies.

Vendors (7). The second tab. A list of the vendors that sell this model. It has the button Add Vendors.

Fuel Type, Transmission, Drive Type, Power, Range, CO2 Emissions and Emission Standard (8 to 14). The engine data. Fuel Type has Diesel, Gasoline, Full Hybrid, Plug-in Hybrid Diesel, Plug-in Hybrid Gasoline, CNG, LPG, Hydrogen and Electric. Transmission is Manual, Semi-Automatic or Automatic. Drive Type is Front-Wheel Drive (FWD), All-Wheel Drive (AWD), Rear-Wheel Drive (RWD) or Four-Wheel Drive (4WD). Power is in kW (a list lets you choose hp). Range is in km or mi.

The tab Information also has Model Year, Seating Capacity and Number of Doors. All these values are copied to each new vehicle of the model (section 2.4). Type the power in the field Power, with its unit.

Categories

Configuration > Models > Categories is a list of names, with a handle to change the order. We made two: Delivery Van and City Car. The category is only a label for the reports (for example the report of the odometers, section 6.2, groups the kilometers by category).

odoo Development

Tags

Configuration > Vehicle > Tags is a list with a name and a color. We made Showroom Delivery and Electric. The tags show on the vehicle and in the cards.

odoo Development

Status

Configuration > Vehicle > Status lists the four steps of a vehicle: New Request, To Order, Registered and Downgraded. They are the columns of the kanban. The handle on the left changes the order, and the column Folded in Kanban folds a status in the kanban. You can add your own status with New.

odoo Development

Contract Types and Service Types

Configuration > Contracts > Contract Types lists the kinds of contract. Odoo gives two: Leasing and Omnium (a full insurance). Configuration > Services > Service Types lists the kinds of service. Odoo gives one: Vendor Bill. Each list has the name and the company, and the button New to add more (for example Insurance, or Tires).

odoo Development odoo Development
WhatsApp