You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Pedro M. Baeza ac5b897318 [FIX] base_partner_merge: Avoid F405 9 years ago
..
data Port partner_external_map to v10 7 years ago
i18n [UPD] Update partner_external_map.pot 7 years ago
models [MIG] partner_external_map: Migration to 11.0 7 years ago
security [IMP] partner_external_maps > partner_external_map 7 years ago
static/description [IMP] partner_external_map: Better layout + icon + some refactoring 7 years ago
tests Port partner_external_map to v10 7 years ago
views Port partner_external_map to v10 7 years ago
README.rst [MIG] partner_external_map: Migration to 11.0 7 years ago
__init__.py [IMP] partner_external_map: Better layout + icon + some refactoring 7 years ago
__manifest__.py [MIG] partner_external_map: Migration to 11.0 7 years ago
hooks.py Port partner_external_map to v10 7 years ago

README.rst

.. image:: https://img.shields.io/badge/licence-AGPL--3-blue.svg
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3

=====================
Partner External Maps
=====================

In the old days of Odoo/OpenERP, back in version 6.1, there was an official
*google_map* module ; this module added a *Map* button on the partner form view
and, when the user clicked on that button, it would open a new tab on its web
browser and go to Google Map with a search on the address of the partner.

This module aims at restoring this feature with several improvements:

* Each user can select the map website he wants to use in its preferences
* There are now two buttons on the partner form view: one to open a regular map
on the address of the partner, and another one to open an itinerary map from
the start address configured in the preferences of the user to the address of
the partner.

This module supports several map websites:

* `Google Maps <https://www.google.com/maps>`
* `OpenStreetMap <https://www.openstreetmap.org/>`
* `Bing Maps <https://www.bing.com/maps/>`
* `Here Maps <https://www.here.com/>`
* `MapQuest <http://www.mapquest.com/>`

If the module *base_geolocalize* from the official addons is installed on the
system, it will use the latitude and longitude to localize the partner (instead
of the address) if this information is present on the partner.

Configuration
=============

If you want to create additional map websites, go to the menu
*Settings > Technical > Map Websites > Map Websites*. You are
invited to send the configuration information of your additional map websites
to one of the authors of the module, so that the module can be updated with
more pre-configured map websites.

Usage
=====

First, you need to configure in your preferences:

* The map website to use for the regular maps,
* The map website to use for the route maps,
* The start address for the route maps.

Then you can use the two new buttons on the partner form to open a regular map
or a route map.

.. image:: https://odoo-community.org/website/image/ir.attachment/5784_f2813bd/datas
:alt: Try me on Runbot
:target: https://runbot.odoo-community.org/runbot/134/11.0

Known issues / Roadmap
======================

* Let decide if the user prefers to use addresses instead coordinates when
*base_geolocalize* is installed.

Bug Tracker
===========

Bugs are tracked on `GitHub Issues
<https://github.com/OCA/partner-contact/issues>`_. In case of trouble, please
check there if your issue has already been reported. If you spotted it first,
help us smashing it by providing a detailed and welcomed feedback.

Credits
=======

Contributors
------------

* Akretion (http://www.akretion.com):
* Alexis de Lattre <alexis.delattre@akretion.com>
* Tecnativa (https://www.tecnativa.com):
* Pedro M. Baeza <pedro.baeza@tecnativa.com>

Maintainer
----------

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

This module is maintained by the OCA.

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

To contribute to this module, please visit https://odoo-community.org.