diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/base_geolocalize/README.md | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/base_geolocalize/README.md')
| -rw-r--r-- | addons/base_geolocalize/README.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/addons/base_geolocalize/README.md b/addons/base_geolocalize/README.md new file mode 100644 index 00000000..90d54f5c --- /dev/null +++ b/addons/base_geolocalize/README.md @@ -0,0 +1,13 @@ +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.
\ No newline at end of file |
