OdooWiki OCA HUB

Google Maps Integration

base_google_map folder_open OCA/geospatial open_in_new
Extra Tools License: AGPL-3

This module allows you to setup Google Maps configuration for map views and related widgets.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets administrators enter a Google Maps API key and choose map language, region, theme and libraries from Odoo Settings, and optionally install extra Google Maps widgets and a map view.

This module adds a "Google Maps View" section to the Odoo Settings screen (under Integrations) where an administrator can configure how Google Maps behaves inside Odoo.

What you can set there: - The Google Maps API key used for maps and geocoding. - The map theme (Default, Aubergine, Night, Dark, Retro, Silver). - The map language, and a region that only appears once a language is chosen. - Two Google Maps libraries: Geometry (distance and area calculations) and Places (searching for establishments and points of interest). - Three optional add-ons that install extra modules: a Google Map view, a Google marker icon picker, and Google address autocomplete on website forms.

Automatic behaviour: when you save the settings, the values are stored as system parameters (API key, language, region, theme and active libraries). The language and region are stored in the format Google expects, and the libraries list is built from the Geometry and Places checkboxes. If you clear the language, the region is cleared too. A small web endpoint returns the chosen theme, and another returns the autocomplete language when a related restriction parameter is enabled.

The module extends the settings model res.config.settings and relies on base_setup and base_geolocalize. It does not add its own menus; everything is configured from the standard Settings screen.

Depends on

base_setupbase_geolocalize

Required by other modules

Models and fields (1)
  • res.config.settings · extends an existing modelgoogle_maps_theme (Map theme), google_maps_places (Places), google_maps_geometry (Geometry), google_maps_view_api_key, module_web_view_google_map (Allow Google Map View), google_maps_lang_localization (Google Maps Language Localization), google_maps_region_localization, module_web_widget_google_marker_icon_picker (Allow Google Marker Icon Picker), module_web_widget_google_address_autocomplete (Allow Google Address Form Autocomplete)

Text generated by AI (DeepSeek) from reading the Odoo 19.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: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 12.0

Confirmed on 2026-11-03 in branch 12.0 of OCA/geospatial.

terminal Installation and usage

OCA documentation · Odoo 19.0

This module installs base_setup and base_geolocalize.

After installation, configure the Google Maps API key under Settings > General Settings > Google Maps View.

With demo data enabled, the module sets a placeholder value YOUR_GOOGLE_MAPS_API_KEY on the google.api_key_geocode system parameter. Replace it with a real key from your Google Cloud project before using maps in a demo database.

Google APIs and services required for all features:

  • Geocoding API
  • Maps JavaScript API
  • Places API

See the Google documentation on how to get an API key.

  • Go to Settings > General Settings.
  • Open the Google Maps View section.
  • Set the API key, theme, language and region.
  • Enable the Geometry and Places libraries as needed.
  • Optionally enable related Google Maps view or widget modules.

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.