OdooWiki OCA HUB

Partner External Maps

partner_external_map folder_open OCA/partner-contact open_in_new
Extra Tools License: AGPL-3

This module adds buttons on the partner form to open a new tab with the map or the route to the address of the partner.

  • Each user can select the map website he wants to use in its preferences.
  • There are now two buttons on the partner form view: one to open a regular map on the address of the partner, and another one to open an itinerary map from the start address configured in the preferences of the user to the address of the partner.

This module supports several map websites:

  • Google Maps \
  • OpenStreetMap \
  • Bing Maps \
  • Here Maps \
  • MapQuest \

If partner has the latitude and longitude information, Odoo will use that information instead of the address.

auto_awesome What this module does

AI-generated from the code · Odoo 18.0

Adds Map and Route Map buttons on the contact form that open the partner's address in an external map website (Google Maps, OpenStreetMap, Bing, Here, MapQuest). Each user can choose their preferred map provider and starting address.

This module adds two buttons to the contact form: a Map button (map marker icon) and a Route Map button (car icon). Both are only visible when the contact has a city filled in. Clicking Map opens the contact's address in an external map website in a new browser tab. Clicking Route Map opens driving directions from a starting address to the contact's address.

Each user can set their own preferences under their user profile in a new Maps section: which map website to use for the simple map, which one for the route map, and which contact address to use as the starting point for routes. When a user is created, the starting address defaults to that user's own contact.

Administrators can manage the list of available map websites under a new Map Websites menu. Each entry stores the web addresses used to build the map links, with placeholders for the address or for latitude and longitude. Five providers are pre-loaded: Google Maps, OpenStreetMap, Bing Maps, Here Maps and MapQuest. System-wide default providers can also be set in the general Settings under Contacts.

If a contact has latitude and longitude coordinates (for example from a geolocation module), the module uses those coordinates instead of the plain address. If the address is missing, or no map provider is configured, an error message is shown.

Depends on

basebase_setup

Menus it adds

Map Websitesmap_website_menu
Models and fields (4)
  • res.users · extends an existing modelcontext_map_website_id (Map Website), context_route_map_website_id (Route Map Website), context_route_start_partner_id (Start Address for Route Map)
  • map.website · new modelname (Map Website Name), active, sequence, address_url (URL that uses the address), lat_lon_url (URL that uses latitude and longitude), route_address_url (Route URL that uses the addresses), route_lat_lon_url (Route URL that uses latitude and longitude)
  • res.partner · extends an existing model
  • res.config.settings · extends an existing modelmap_website_id (Map Website), route_map_website_id (Route Map Website)

Text generated by AI (DeepSeek) from reading the Odoo 18.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 7 confirmed, 2 with no information of 9 versions.

Sources · Odoo 18.0

Confirmed on 2026-11-03 in branch 18.0 of OCA/partner-contact.

terminal Installation and usage

OCA documentation · Odoo 18.0

If you want to create additional map websites, go to the menu Settings \> Technical \> Map Websites \> Map Websites. You are invited to send the configuration information of your additional map websites to one of the authors of the module, so that the module can be updated with more pre-configured map websites.

To configure the default map website go to Settings \> General Settings \> Default External Map

First, you need to configure in your preferences:

  • The map website to use for the regular maps,
  • The map website to use for the route maps,
  • The start address for the route maps.

Then you can use the two new buttons on the partner form to open a regular map or a route map.

No verified information in OCA: Installation.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.