Leaflet Map View for Partners (OpenStreetMap)
This module extends the web_view_leaflet_map odoo module, to add a map view on the res.partner model.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Adds a map view to the Contacts app so you can see your partners (customers, vendors, companies) as pins on an OpenStreetMap map, using their stored latitude and longitude.
This module extends the Contacts application with a new map screen for partners. It relies on the Leaflet map view feature and the standard Contacts module.
What you can do: - Open the Contacts app and switch to the new map view to see partners placed on a map. - Each partner appears as a marker positioned by its latitude and longitude. - The marker shows the partner's name as the title and the partner's address as the address text. - The marker uses the partner's image (avatar) as its icon, so contacts are easy to recognise.
Where it appears:
- The map view is added to the existing Contacts window action (contacts.action_contacts), alongside the kanban, list, form and activity views.
- A dedicated map view record (view_res_partner_map) is defined for the res.partner model.
Business rules and automatic behaviour:
- A new computed field display_address is added to partners. It is calculated automatically from the partner's address details, without the company name, and is used as the address shown on the map.
- No checks, restrictions, emails or scheduled jobs are added by this module.
Areas touched:
- The res.partner model (Contacts) is extended with the computed address field.
- The Contacts action is modified to include the map view mode.
Depends on
Models and fields (1)
- res.partner · extends an existing modeldisplay_address
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-03Confirmation status: 3 confirmed, 6 with no information of 9 versions.
Sources · Odoo 16.0
Confirmed on 2026-11-03 in branch 16.0 of OCA/geospatial.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0You should configure first the module web_view_leaflet_map to enable the feature.
Usage
Source · Odoo 18.0- go to 'Contact'.
- a new map icon is available.
- by clicking on it, the partners are displayed on the map, if the latitude and longitude are defined. (see
base_geolocalizemodule)
No verified information in OCA: Installation.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.