
HERE routing for Odoo 19: real road distance and drive time, and the best stop order for a round of deliveries
HERE Maps - Routing API v8 - Waypoints Sequence - Geocoding - Delivery batches - Odoo 19
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
Straight-line distance says little about a delivery run through a city. This module asks HERE, with your own HERE API key, for the road distance and drive time from your warehouse to the customer and writes them on the sale order and the delivery. For a batch of deliveries, one button puts the stops in the best order from the warehouse and back, and gives every delivery its stop number, arrival time and the kilometres and minutes of its leg. Customers without coordinates are located with HERE first.
| Distance and drive time: on sale orders and deliveries, from the warehouse address to the delivery address | |
| Vehicle and route type: car, truck, scooter, bicycle or on foot; fastest or shortest; avoid toll roads or ferries | |
| Stop order for a batch: up to 200 deliveries of a batch transfer ordered from the warehouse, back to it or not | |
| Per stop: stop number, arrival time, leg distance and leg time on each delivery, with a stop list sorted by order | |
| Per round: total km and time of the round on the batch, and a message in its chatter | |
| Options: optimise for time or distance, service minutes per stop, traffic-aware ordering | |
| Map link: the ordered round, or a single delivery, opened in Google Maps | |
| Geocoding: contacts without latitude and longitude are located with HERE Geocoding and Search and saved | |
| API log: every HERE call with status and time; the API key is never written |
Who it is for
COMPANIES WITH OWN VANS Plan the morning round in Odoo without a separate route planner. | SALES TEAMS Know how far a new customer is before agreeing a delivery charge. | DISPATCHERS Hand the driver a stop list with arrival times. |
What it adds to Odoo 19
| Need | Odoo 19 core | With this module |
| Distance to a customer | None | Road km and drive time from HERE |
| Order of the stops | By hand | Best order computed by HERE |
| Arrival time per stop | None | On each delivery |
| Length of the round | Unknown | Total km and time on the batch |
| Contacts without coordinates | Geolocate add-on | Located with HERE when needed |
See it in Odoo
HERE Routing settings
Your API key, the vehicle, fastest or shortest, what to avoid, and the options for ordering stops.

A batch with its round
Optimise Stop Order (HERE) filled the total km and time of the morning round.

Stops in order
Stop number, arrival time and the km and minutes of each leg. The totals are at the bottom.

Distance on a delivery
Road distance and drive time from the warehouse, and the stop number when the delivery is in a batch.

API log
Routing, Waypoints Sequence and Geocoding calls with their status. The key is not stored in the log.

How it works
1 | Get a HERE key Create an API key in your HERE platform account. |
2 | Paste it Inventory > Configuration > HERE Routing: key, vehicle and options, then Test Key. |
3 | Use it Press HERE Distance on a sale order or delivery, or Optimise Stop Order (HERE) on a batch transfer. |
Settings
| Transport Mode: car, truck, scooter, bicycle or pedestrian | |
| Routing Mode: fastest or shortest | |
| Avoid Toll Roads / Ferries: passed to HERE Routing | |
| Optimise For and Minutes per Stop: how the stop order is computed | |
| Return to Warehouse: the round ends at the warehouse | |
| Geocode Missing Addresses: locate contacts with HERE when they have no coordinates |
Questions
Do I need a HERE account?
Yes. You use your own HERE API key; HERE bills its usage under your plan.
Does it change the order of my deliveries?
It writes a stop number and arrival time on each delivery. The deliveries themselves are not changed or validated.
How many stops can a batch have?
Up to 200, which is what one HERE Waypoints Sequence call accepts with start and end. With traffic on, HERE accepts fewer.
Why does the map open in Google Maps?
It is a plain link with the stops in order, so the driver can open it on any phone without another app.
Where do the screenshots come from?
From an Odoo test database filled through the module with sample answers shaped like the HERE APIs. No real HERE key was used.
Compatibility
Odoo 19.0 Community and Enterprise. Depends on Sales, Inventory, Batch Transfers and Discuss (mail).
Questions before you buy?
Write to modvantaapps@gmail.com. We answer on working days, usually within one day.
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