odoo18/addons/base_geolocalize
raman 35800393db first commit 2024-12-24 12:43:04 +05:30
..
data first commit 2024-12-24 12:43:04 +05:30
i18n first commit 2024-12-24 12:43:04 +05:30
models first commit 2024-12-24 12:43:04 +05:30
security first commit 2024-12-24 12:43:04 +05:30
tests first commit 2024-12-24 12:43:04 +05:30
views first commit 2024-12-24 12:43:04 +05:30
README.md first commit 2024-12-24 12:43:04 +05:30
__init__.py first commit 2024-12-24 12:43:04 +05:30
__manifest__.py first commit 2024-12-24 12:43:04 +05:30

README.md

Partner geolocalize

Contacts geolocation API to convert partner addresses into GPS coordinates.

Configure

You can configure in General Settings the default provider of the geolocation API service.

A method _call_<service> should be implemented in object base.geocoder that accepts an address string as parameter and return (latitude, longitude) tuple for this to work. If no default provider is set, the first one will be used by default.

An optional method _geo_query_address_<service> which takes address fields as parameters can be defined to encode the query string for the provider.