partner_external_map
Add configurable map and route actions on partners that open external map providers chosen per user.
Key Features
- res.partner: Adds Map and Route Map buttons that open the selected provider in a new tab for the partner address.
- res.partner: Uses stored latitude/longitude when available or builds and validates the postal address before opening a map link.
- res.partner: Builds routing URLs from a user-defined start partner to the destination partner, falling back to address-based routes when coordinates are missing.
- res.users: Adds preferences to pick map and route providers and to set a route start partner that defaults to the user’s own partner on creation.
- map.website: Defines configurable map provider records with URL templates for address lookups, coordinate searches, and routing plus active/sequence controls.
- configuration: Provides a Map Websites menu with list/form views to manage providers, reorder them, and archive when needed.
- data: Preloads common providers (Google Maps, OpenStreetMap, Bing Maps, Here Maps, MapQuest) with ready-to-use address and routing URL patterns.
- installation: Post-install hook populates default provider choices for existing users and backfills missing route start partners from their linked contacts.