WANGLEI 817b12dc4d first commit 10 kuukautta sitten
..
data 817b12dc4d first commit 10 kuukautta sitten
i18n 817b12dc4d first commit 10 kuukautta sitten
models 817b12dc4d first commit 10 kuukautta sitten
security 817b12dc4d first commit 10 kuukautta sitten
tests 817b12dc4d first commit 10 kuukautta sitten
views 817b12dc4d first commit 10 kuukautta sitten
README.md 817b12dc4d first commit 10 kuukautta sitten
__init__.py 817b12dc4d first commit 10 kuukautta sitten
__manifest__.py 817b12dc4d first commit 10 kuukautta sitten

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.