Google Maps on Contacts - Contact Map, Street View and Directions
by Modvanta https://modvantaapps.tech/odoo-apps/google-maps-contacts/$ 8.97

See every contact's address on Google Maps
A Location Map tab on the contact form shows the customer or vendor address on an embedded Google map, with Street View, Directions from your company and an Open in Google Maps button.
Written and supported by Modvanta - modvantaapps@gmail.com
What it does
The module adds a Google Maps button and a Location Map tab to every contact (companies and individuals, customers and vendors). The address is built from street, city, state, zip and country; if you only have coordinates, those are used.
The embedded map uses Google's Maps Embed API and needs your own Google Maps API key, which you enter in Settings - Google Maps. Google's terms and pricing for that key apply. Without a key the tab still offers Open in Google Maps and Directions, which open google.com/maps in a new tab.
Street View is offered when the contact has latitude and longitude. Zoom level, map height and road map or satellite view are settings.
Who it is for
Sales and field teams Check where a customer is and get directions from the office before a visit. | Delivery and service Look at the street before sending a driver or technician. | Purchasing See where vendors and warehouses are. |
Key features
The screenshots were taken without an API key - this is what you see before adding yours. With a key, the grey box becomes Google's embedded map.
Feature 1
Location Map tab
Open in Google Maps and Directions (from your company's address to the contact) on every contact with an address. With a key, the embedded map appears below, plus a Map / Street View switch when coordinates are known.

Feature 2
Google Maps button on the contact
One click from the contact's button box opens the address in Google Maps.

Feature 3
Settings
API key (stored as a password field), default zoom 1-21, map height 150-1200 px, road map or satellite.

Feature 4
Clear message without an address
Contacts with no address and no coordinates say so instead of showing an empty map.

How it works, step by step
| 1 | Install The Location Map tab and the Google Maps button appear on contacts immediately. |
| 2 | Get a key In Google Cloud Console create an API key, enable the Maps Embed API and restrict the key to your Odoo domain. |
| 3 | Paste the key Settings - Google Maps - API Key. Adjust zoom, height and map type. |
| 4 | Open a contact The Location Map tab now shows the embedded map. |
Settings
| API Key | Your Google Maps API key with the Maps Embed API enabled. Required for the embedded map and Street View only. |
| Default Zoom | 1 (world) to 21 (buildings); default 15. |
| Map Height (px) | 150 to 1200; default 350. |
| Map Type | Road map or satellite. |
Frequently asked questions
Do I need a Google Maps API key?
For the embedded map and Street View, yes - your own key from Google Cloud with the Maps Embed API enabled. The Open in Google Maps and Directions links work without a key.
Who pays for the Google usage?
Usage is billed to your Google Cloud project under Google's own pricing and terms. Check Google's current Maps Embed API pricing before you start.
Is the key visible to users?
The embed key is sent to the browser inside the map address, as Google's Embed API requires. Restrict the key to your Odoo domain in Google Cloud.
Where do coordinates come from?
From the contact's Geo Latitude and Geo Longitude fields, shown in the Location Map tab. Fill them by hand or with Odoo's geolocation module.
Compatibility
Odoo 19 Community and Enterprise | Depends on Contacts | Tested 10 automated tests, with and without demo data |
Put Google Maps on your Odoo contacts
Questions before you buy, help with setup, or a change for your own workflow - write to us and a developer answers.
SUPPORT | AUTHOR Modvanta | INCLUDED Map tab, settings, setup help |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Contacts (contacts)
• Discuss (mail) |
| Lines of code | 241 |
| Technical Name |
mdv_google_maps_contacts |
| License | OPL-1 |
| Website | https://modvantaapps.tech/odoo-apps/google-maps-contacts/ |
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