Odoo Integration

The official Traccar Fleet plugin connects Traccar GPS tracking to Odoo 19 Community. It imports devices and their latest tracking data, links them to Fleet vehicles, and optionally updates vehicle odometer readings.

Download the plugin from the Odoo Apps Store. The source code is available on GitHub.

Features

Installation

The plugin requires Odoo 19 Community, the Fleet module, and the Python requests package.

Copy the fleet_traccar directory into an Odoo addons directory, restart Odoo, update the Apps list, and install Traccar Fleet. Remove the Apps filter if the module is not shown.

Configuration

  1. As an Odoo system administrator, open Fleet → Traccar → Servers and create a connection for the appropriate company.
  2. Enter the Traccar base API and browser URLs without /api. The API URL must be reachable from the Odoo server, and the browser URL must be reachable by users.
  3. Enter a bearer token or username and password. Use HTTPS and a dedicated Traccar account with access to the devices you want to import.
  4. Click Sync now, then open Fleet → Traccar → Devices and link each device to an existing Fleet vehicle. The device and vehicle must belong to the same company.

Tracking details are available on the vehicle's Traccar tab. Use Open in Traccar to view the selected device in the Traccar web app.

Odometer Updates

Update vehicle odometer is disabled by default. Before enabling it, compare Traccar's total distance with the vehicle's odometer and set Odometer offset (km) to align them. Readings are converted to the vehicle's kilometer or mile unit. If the distance counter is reset, recalibrate the offset.

Limitations

The plugin imports the latest tracking snapshot. GPS history, live maps, trip reports, and event history remain in Traccar. Offline devices may show old locations and speeds, so check the last contact and GPS fix timestamps.

Importing devices does not create Fleet vehicles. Other Odoo major versions have not been tested.

See the module documentation for more details on permissions, odometer updates, and synchronization behavior.