Asset Geo Tracking - Grevlin Visualisation Suite
by Grevlin Global Corp https://grevlinglobal.com$ 119.85
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Fleet (fleet) |
| Community Apps Dependencies | Show |
| Lines of code | 3590 |
| Technical Name |
grev_od_asset_tracking |
| License | OPL-1 |
| Website | https://grevlinglobal.com |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Discuss (mail)
• Fleet (fleet) |
| Community Apps Dependencies | Show |
| Lines of code | 3590 |
| Technical Name |
grev_od_asset_tracking |
| License | OPL-1 |
| Website | https://grevlinglobal.com |
Asset Geo TrackingTrack any asset on a live map — GPS, geofences, routed journeys, and product-linked rental assets, all inside Odoo
|
|
|
Need Help?For support, contact us at odoo@grevlin.com X: @GrevlinGlobal 30 days free support |
Asset Geo Tracking - Documentation
Enterprise asset intelligence platform embedded inside Odoo that turns raw GPS telemetry into operational insight for any movable resource — fleet vehicles, field technicians, rental equipment, containers, tools, or trailers.
Overview
Asset Geo Tracking introduces a generic Tracked Asset concept that can optionally be linked to a fleet.vehicle record and/or a product.product variant. This unlocks GPS tracking, geofencing, journey analytics, and rental integration for anything that moves — not just fleet vehicles.
Organizations can use it to:
- Monitor any tracked asset in real time on an interactive map
- Replay every trip as a road-snapped routed path with full analytics
- Enforce operational zones with polygon and circle geofences
- Power rental flows by linking tracked assets to product variants
- Categorize assets by type with custom marker colors and icons
Key Features
- Tracked Assets — A generic grev.tracked.asset model that can stand on its own or be linked to a fleet vehicle and a product variant
- Asset Types — Catalog of categories with per-type marker color and icon
- GPS Data Ingestion — JSON-RPC webhook API with per-device API key auth
- Map Dashboard — Full-screen Leaflet map with asset markers, type filters, geofence overlays, and live KPIs
- Journey Detection — Automatic trip start/end detection from speed
- Routed Playback — Trip routes snapped to real roads via leaflet-routing-machine
- Geofencing — Polygon and circle zones with entry/exit alerts in chatter
- Rental Integration — Link tracked assets to rentable product variants
- Multi-company & Security — Three-tier role hierarchy with record rules
Note
This module is compatible with both Odoo Community and Odoo Enterprise editions. Leaflet and leaflet-routing-machine are vendored within the module, so no Enterprise-only or CDN dependencies are required.
Configuration
Installation
- Install the module from the Odoo Apps menu
- The module depends on base, mail, fleet, product, and the Grevlin Map View module (auto-installed)
Setting Up Asset Types
- Navigate to :menuselection:`Asset Tracking --> Configuration --> Asset Types`
- Click :guilabel:`New`
- Enter a name (for example, Truck, Trailer, Field Technician)
- Pick a marker color and icon — these will be used on the map dashboard
Creating a Tracked Asset
- Navigate to :menuselection:`Asset Tracking --> Tracked Assets`
- Click :guilabel:`New`
- Enter the asset name and select an :guilabel:`Asset Type`
- Optionally link the asset to a :guilabel:`Fleet Vehicle`
- Optionally link the asset to a :guilabel:`Product Variant` (enables rental flows when the product is rentable)
- Save the record
Tip
A tracked asset does not need to be linked to a fleet vehicle. Use the product variant link to expose the asset in rental orders via sale_renting.
Setting Up GPS Devices
- Navigate to :menuselection:`Asset Tracking --> Configuration --> GPS Devices`
- Click :guilabel:`New`
- Enter the device serial number and select the device type
- Assign the device to a tracked asset
- Copy the auto-generated :guilabel:`API Key` — this is used for webhook authentication
Note
Each device receives a unique API key on creation. You can regenerate it at any time using the :guilabel:`Regenerate API Key` button.
Setting Up Geofences
- Navigate to :menuselection:`Asset Tracking --> Geofencing --> Geofences`
- Click :guilabel:`New`
- Enter a name and select the fence type (Polygon or Circle)
- Use the interactive map editor to draw the geofence zone
- Configure entry/exit alert preferences and select users to notify
Usage
GPS Data Ingestion API
Send GPS data to the webhook endpoint:
curl -X POST https://your-odoo.com/api/v1/gps/ingest \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "params": { "api_key": "YOUR_DEVICE_API_KEY", "events": [ { "timestamp": "2025-01-01T10:15:00Z", "latitude": 40.7128, "longitude": -74.0060, "speed": 42, "heading": 180, "accuracy": 5, "battery_level": 85 } ] } }'
Map Dashboard
Access the map dashboard from :menuselection:`Asset Tracking --> Dashboard`.
The dashboard displays:
- Tracked asset markers colored and iconified by asset type
- Geofence polygon and circle overlays
- Sidebar with asset list, search, type filters, and live KPIs
- Auto-refresh of asset positions
Journey Tracking and Routed Playback
Journeys are detected automatically by a cron job:
- A journey starts when asset speed exceeds 5 km/h
- A journey ends when speed stays below 2 km/h for more than 5 minutes
View journeys at :menuselection:`Asset Tracking --> Tracking --> Journeys`. Open any journey to replay the route as a road-snapped path rendered by leaflet-routing-machine, alongside distance, duration, max speed, and idle time metrics.
Rental Integration
When a tracked asset is linked to a rentable product.product variant, the asset becomes visible from the product form and can be associated with rental orders. The included demo data ships with several tracked assets connected to rentable products to showcase the flow end-to-end.
Security
The module defines three access levels:
| Role | Access |
|---|---|
| Viewer | Read-only access to all tracking data |
| Operations | Read/write access to assets, devices, journeys, and geofences |
| Administrator | Full access including device management and configuration |
All models are protected by record rules enforcing multi-company isolation.
Data Retention
A daily cron job removes location events older than 6 months to manage database size. Journey records and geofence events are retained indefinitely.
Technical Details
Models
- grev.tracked.asset — Generic tracked asset, optionally linked to a fleet vehicle and a product variant
- grev.tracked.asset.type — Asset type catalog with marker color/icon
- fleet.vehicle — Extended with a back-reference to its tracked asset
- product.product — Extended with a back-reference to its tracked asset
- grev.device — GPS tracking device with API key authentication
- grev.location.event — Raw GPS telemetry data (high-volume)
- grev.journey — Detected trips with distance, duration, and routed path
- grev.geofence — Operational zones (polygon or circle)
- grev.geofence.event — Geofence entry/exit event log
API Endpoints
- POST /api/v1/gps/ingest — GPS data ingestion (JSON-RPC, public auth)
Supported GPS Vendors
The webhook API accepts standard GPS data and is compatible with:
- Teltonika
- Queclink
- CalAmp
- Digital Matter
- Any device capable of HTTP POST with JSON payload
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module