Charge delivery by real driving distance in Odoo 19
A delivery method that resolves where the customer actually is, measures the driving distance from your branch with Google, and charges the kilometre band that matches. It never quotes a distance it does not know. Community and Enterprise, $89 on the Odoo Apps Store.
From $89 on the Odoo Apps Store · $389 with setup & support
- Store name
- Delivery Fee by Distance
- Store price
- $89, one-time purchase
- Setup package
- $389, incl. setup and 30 days of support
- Edition
- Odoo 19 Community and Enterprise
- Licence
- OPL-1
- Technical name
eh_delivery_tier- Publisher
- EHC, Saudi Arabia
- Support
- ebraheem@hashem.sa
The problem
A flat-rate carrier makes customers pick their own distance band. They cannot know which one they are in, so you lose money on long trips or overcharge the customer next door.
A free-text street line is often not an address a driver can find. A short address code or a map pin is.
Who it is for
- Restaurants, bakeries and shops delivering from one branch
- Saudi stores that want the National Address short code at checkout
- Any Odoo eCommerce site priced by distance bands
What it does
Ask before quoting
Two fields on the checkout address: a short address code or a map share link. Pasted coordinates work too.
Real driving distance
Google Distance Matrix from your branch, not a straight line, matched to your kilometre bands.
Fails closed
Unknown address, Google outage or a distance beyond every band means no quote, never the cheapest band.
Cached coordinates
Coordinates are stored on the customer, so repeat orders need no new geocoding call.
No core patches
The rule lives in the delivery provider's rate method; no website controller or template is replaced.
Requirements
- Odoo 19 Community and Enterprise.
- Depends on:
delivery,website_sale - A Google Cloud API key with the Geocoding API and the Distance Matrix API enabled, and billing active. Google bills the calls.
- The branch coordinates and your kilometre bands, set on the delivery method.
- Hosting: Odoo.sh or your own server. Odoo Online does not accept third-party modules.
Screenshots, the full feature list and the change log are on the Odoo Apps Store listing.
Two ways to buy
$89
The module licence from the official Odoo Apps Store. You install it yourself or with your Odoo partner. Bug fixes from the developer are included.
- Licence bought and downloaded through Odoo
- Updates for the Odoo 19.0 series
- Bug fixes from EHC by email
$389
Module licence at the store price, plus EHC installs it, configures it with your data and supports your team for 30 days. EHC sends you an invoice; nothing is charged online.
- Installed on a staging copy first, then on your live database
- Configured with your settings and tested with your own records
- A handover session for the people who will use it
- 30 days of email support after go-live
Setup fee $300: an outside account or workflow is connected and tested end to end (API keys, payment test, bank file, approvals).
Same module, same code on both routes. The Odoo Apps Store price is never higher than the price on this site; the package adds services only.
Questions buyers ask
What is the difference between the store and the setup package?
The store sells the licence only and you install it. The package is the same licence at the same price plus installation, configuration and 30 days of support by EHC, invoiced by EHC.
What happens if Google is down?
The carrier refuses to quote and the customer cannot pick it. Publish a flat-rate method alongside as a safety net.
Does it work outside Saudi Arabia?
Yes. The short-code pattern is a setting, and a shop with no code scheme can rely on map links alone.
Is the API key included?
No. You use your own Google Cloud key and Google bills the calls.
Can I deliver from two branches?
Yes, with one delivery method per branch. Each method has one origin.
Does it support maps other than Google?
No. Google only; no OSRM, Mapbox or HERE.