Web Google Maps

by
Odoo 22
v 10.0 v 11.0 v 12.0 Third Party 12809
Download for v 10.0 Deploy on Odoo.sh
Availability
Odoo Online
Odoo.sh
On Premise
Technical Name web_google_maps
LicenseAGPL-3
Versions 13.0 10.0 11.0 12.0 14.0 15.0
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Technical Name web_google_maps
LicenseAGPL-3
Versions 13.0 10.0 11.0 12.0 14.0 15.0

Brings Google Maps features into Odoo Web

Show all your partners location on google maps

This module brings five new features:

  • New view map allows user to view all partners addresses on google maps.
  • New widget gplaces_address_form, enabled Google places autocomplete address form into partner form view,
    provide autocomplete feature when you typed an address of partner (or any field using this widget)
  • New widget gplaces_autocomplete, enabled Google places autocomplete into partner form view,
    provide autocomplete feature when you typed partner name (or any field using this widget)
  • Routes information
  • Map Localization

New Widget Google Place Autocomplete Address Form

Provide autocomplete feature when typing an address

New Widget Google Place Autocomplete

Provide autocomplete feature when typing partner's name

Routes

Distance information between two partners locations

With some controls to display different information of routes

  • Map layers (traffic, transit, bicycle)
  • Travel mode (driving, walking, bicycling, transit)
  • Redirection to google maps website to see the full features

Create new partner within the map

Using google places autocomplete, you can search any company, hotel, restaurant or any places recognized by Google

and then create it as your new partner

Bug Tracker

Bugs are tracked on GitHub 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.

Contributors

Maintainer

This module is maintained by myself, if you are interested to contribute please let me know

ko-fi

Thank you

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
Great module but getting a small bug maybe you can tell me how to fix
by
randall.vargas@iica.int
on 4/12/18, 3:34 PM

Hi! The module works great but I found a small problem. After I select something from the Geolocation fields the dropdown that says "Powered by google" and my selection keeps showing. Any idea why this could be?


Cool and perfect
by
NIyas Raphy
on 2/12/18, 12:14 AM

Works perfect
by
Yenthe
on 2/8/18, 9:49 AM

The app works perfect. It would be great to add some documentation either in the app or expand the index.html page. You still need to make a Google project and allow the correct API's before the app will work. It would be nice if this was documented :)


Need to fix one issue?
by
Malik Sikandar Hayat
on 11/30/17, 10:26 AM

Hi, I tried locally and on AWS and only issue I am facing is that on customer when I click on Map nothing is displaying but when I try route and other options all working fine. Locally without api key all fine but when I enter api key even in local instance same issue. I have unrestricted api key so no idea what is wrong... Kindly need guidance if contact information can be provided can share credentials to check online. thanks


Very good job!
by
Francesco Maioli
on 11/25/17, 10:54 AM

Hi, 2 questions: how to define my geolocation? It would be great to select 2 or more partners and find a route around them, not only form company to partner. What do you think? I may collaborate if you are interested


by
pat
on 11/9/17, 7:10 AM

Is this v11 ready?


Worsk great! Please make it work for leads / prospects also?
by
Wilhelm Pelleboer
on 9/25/17, 11:28 AM

Now we can see partner on maps,! thnx! but is it possible to make it work for lead / prospects also? Tnx!


by
mofel
on 8/26/17, 7:57 AM

@Yopi: I tested on two databases (one fresh almost new that i use for testing and a copy of the production one). We are on Odoo 10 Enterprise hosted in a remote datacenter so i'm sure the problem doesn't come from Internet connection. I also tested on two laptops (with Safari and Chrome) as i thought it was may be an ajax call problem i checked the js console. I don't have errors but also i don't see the call to https://maps.googleapis.com ... May be you want a log / passwd of a fresh installation ? Thanks for your help Mofel


Great module. Thank you!
by
Eduard
on 7/13/17, 4:17 AM

Hi @yopi, Thank you. That helped.


Bingo !!
by
ghandi
on 6/7/17, 8:11 AM

@Mariangel Montenegro : It works now. Actually I didn't activate Google Maps Javascript API and others API. Thanks man Great Job Yopi ! NB : As Mariangel said, adding route functionality from partner_external_map will be more interesting


Works great!
by
Mariangel Montenegro
on 6/5/17, 7:44 PM

Just few notes for those who are trying to make it work: 1) install also visible_search_menu - definitely adds 1 more level to the functionality, 2) set up your Google Maps API key - Settings / System Settings; 3) when you get an error about the missing template, don't worry, just restart Odoo; 4) when playing on your local pc, note that you need internet to show the maps. For Yopi: 1) For some reason the autocomplete is not perfect. I have Street+Street2 and it adds first house number (as Street) and only then street number (as Street 2). Then geolocation might not work well, just approximately. 2) If you would add route functionality from partner_external_map, it would be perfect! Thank you for truly an excellent job!


by
Ashish
on 12/14/23, 6:52 AM

I want to install in  Odoo17.


by
Keiko
on 6/29/21, 9:46 AM



by
eabatelec@gmail.com
on 2/15/21, 6:22 AM

Bonjour , 


j'ai un probleme concernant l'installation du module sur une version Odoo SH 14. l'installation me dit failed


ERROR WHILE TRYING TO IMPLEMENT MARKER WITH DIFFERENT COLORS
by
Roshan
on 10/9/20, 2:26 AM

Showing error like this - Uncaught Error: SyntaxError: Unknown node [[undefined]]
Please help for the solution


Great
by
Danial Mustofa Habibi
on 8/19/19, 1:06 AM

Hi there, when i installed this base module or contact map there's always error like this An unknown CORS error occured. The error probably originates from a JavaScript file served from a different origin. (Opening your browser console might give you a hint on the error.) when i open the console all your module css/jss not found 404 any idea why?


by
Hani Nada
on 1/21/19, 4:40 AM

First of all, thank you for web google map module it is great, I installed courier third-party module in odoo 10 enterprises, the map future working fine inside the module but not working with customers directory, auto address complete not working when creating new customer. Any Advise?


root between two partners locations
by
souna101
on 8/26/18, 8:34 AM

Hi Yopi,how to draw root between any two partners from map view?


Reply to Yopi Angi
by
souna101
on 8/6/18, 3:38 AM

Thanks for helping bro. it's great module


Reply to souna101
by
Yopi Angi
on 8/5/18, 12:20 PM Author

Hi Souna, this is a base module for map view. I have split the functionality shown on this module into different modules. For example, if you want to have a map view in your Contacts menu, you can download module contacts_maps. If you want map view + route in your sale > customers, you can download module sale_maps. Thanks


routes, map buttons not appear on partner form
by
souna101
on 8/5/18, 4:10 AM

I've installed this module in Odoo 10 on fresh database ,module work but route and map smart buttons not appears on the partner form


by
Manish Shukla
on 7/26/18, 4:54 AM

Hi, Have you got this module in V11 ? Thanks, Manish


Reply to randall.vargas@iica.int
by
Yopi Angi
on 4/17/18, 9:30 AM Author

Hi Randal! Thanks for reporting the issue, I've fixed it, you download the module again or clone my repo. Sorry for late response, I don't received notification when someone put a comment.


Doesn't work on v10 Enterprise
by
Tony Crols
on 1/15/18, 10:18 AM

Hi, I've installed your module, but when loading the view in the customers list I got this error. Cannot read property 'getSouthWest' of undefined. at MarkerCluster. ..... .... And when creating a new customer, there isn't an autocomplete and he sets the customers name to 'undefined' when I save. What am I doning wrong?


Odoo V11 version
by
Joseph
on 12/16/17, 4:59 PM

hi, will there be a version 11 soon? thanks


by
Malik Sikandar Hayat
on 12/1/17, 7:45 AM

Hi Yopi, I tried to move map and it generated error, Script error. :0 Traceback: tried to click OK and also tried to close the dialog but no gain. I also sent details of instance to you on your email id. thanks


Reply to @Malik Sikandar Hayat
by
Yopi Angi
on 12/1/17, 12:48 AM Author

Hi Malik, Thank you. When you click the map button on customer form, could you try to move the map? here is my email yopiangi@gmail.com if you want to discuss it.


Reply to @Francesco Maioli
by
Yopi Angi
on 11/27/17, 9:31 PM Author

Hi Francesco Maioli, Thank you. Yeah, of course we can collaborate :) you can start by create an issue on my github.


Reply to @pat
by
Yopi Angi
on 11/27/17, 9:26 PM Author

Hi Pat, the version 11 is still on progress


by
Yopi Angi
on 9/26/17, 6:57 AM Author

Hi Wilhelm Pelleboer, Yeah, I think it's possible. Could you give me an information of how and what you expect this module (the map) on crm module? Maybe better if you can create and describe it on a document and share it to me :) Thanks


by
Yopi Angi
on 9/14/17, 5:33 AM Author

Hi Ramón Fernández, To manage such number of records. I think create a script is the best way. (be aware with google API usage limits -- https://developers.google.com/maps/documentation/geocoding/usage-limits). Hope this helpful Thanks


by
Ramón Fernández
on 9/14/17, 4:41 AM

Hi, After installation, we have to click for each record the button geolocalization, (to be show it on map) we have more than 5000 records, there is another way to do it? Thanks Really great module!!!!


by
Yopi Angi
on 8/31/17, 6:46 AM Author

Hi @Selva Kumar For your API key, you need to enable some google maps APIs and services. here: https://drive.google.com/open?id=0B_xCj4hXfuUyZnB1dGhWUXc3d2M, list of APIs and services I used (of course, you don't have to enable all APIs and services like mine but I recommend you to enable APIs and services related to google maps). Hope this helpful, thanks.


Map not displaying because of api
by
Selva kumar
on 8/31/17, 6:06 AM

Hai..Thanks for this module.i created api key and paste it over there but still am getting noapikey and missingapi key error....can u tell me how to use api in your module ...


by
Yopi Angi
on 8/26/17, 9:18 AM Author

Hi @mofel, That strange . The geolocate button on partner's form is an action button, this button will execute python code (not JS code). In case if you wondering where is the code, you can it find here: https://github.com/odoo/odoo/blob/10.0/addons/base_geolocalize/models/res_partner.py#L10 And I just tested the module on fresh DB and I don't have the error (I'm using the latest version of Odoo v10.0c) If you don't mind to give me an access to your Odoo instance , that's great :)


by
Yopi Angi
on 8/25/17, 10:40 PM Author

Hi @mofel, Can you try it again to see if the error are still persist? During the development and testing (on several different databases) I haven't faced this kind of issue. Can make sure if your internet connection is stable? Thanks


Cool Apps !
by
mofel
on 8/25/17, 1:41 AM

Hi, Very cool Module that seems to work well but i have a small problem ! Everything is working find (routes, maps view, autocomplete ...) but when i click on "Geolocalised Button" in partner view it loads during 2 minutes than i have the following error: " \"/usr/lib/python2.7/site-packages/odoo/addons/base_geolocalize/models/res_partner.py\", line 17, in geo_find\n raise UserError(_('Cannot contact geolocation servers. Please make sure that your Internet connection is up and running (%s).') % e)\nUserError: (u'Serveurs de g\\xe9olocalisation injoignables. V\\xe9rifiez que la connexion internet est configur\\xe9e et active (Extra data: line 1 column 3 - line 74 column 1 (char 2 - 2103))', None)" Do you have any idea about that ? Thanks


by
Laurent
on 7/19/17, 4:04 AM

Ok Yopi, thanks for your help, the problem must be that I'm using the online version.


by
Yopi Angi
on 7/18/17, 11:25 PM Author

Hi Laurent, I guess, you were trying to install the module by using feature "import module" I suggest you to extract the zip file and put the extracted file in your Odoo addons. Hope this helpful. Thanks.


by
Laurent
on 7/18/17, 7:25 AM

Yes it exist and is installed Last try's message was : Error while importing module 'web_google_maps': without description


by
Yopi Angi
on 7/18/17, 7:13 AM Author

Hi Laurent can you check the module "website_google_map" exists in your Odoo server (Apps menu)?


Error message when importing
by
Laurent
on 7/18/17, 5:20 AM

Error while importing module 'web_google_maps': u'D\xe9pendances du module non satisfaites : website_google_map\nNone' any idea of what's wrong ?


by
Yopi Angi
on 7/3/17, 12:09 AM Author

Hi @Eduard, To see the buttons, you have to set partner geolocation (partner form > Partner Assignation tab > Geolocate button) first. Hope this helpful. Thanks.


by
Eduard
on 6/30/17, 9:03 AM

The buttons on the partner form are not displayed. What could be the problem? Thanks!


New update (add route feature)
by
Yopi Angi
on 6/10/17, 3:36 AM Author

Thanks @Mariangel Montenegro and @ghandi for inspire me to add those feature.


API key didn't work
by
ghandi
on 6/7/17, 7:39 AM

@Mariangel Montenegro: Thank you. I followed the same steps to generate the Api Key, without doing any Key Restriction, and put it in Settings / Technical / System Parameters with name "google_maps_api_key " => Unfortunately I still can't see the map


Getting Google Maps API key...
by
Mariangel Montenegro
on 6/6/17, 3:13 PM

ghandi: Yes, Google API key is mandatory. There are tons of videos and manuals how to get it... for example https://www.wpgmaps.com/documentation/creating-a-google-maps-api-key/ Once you have it, go to Settings and Activate Developer Mode. Then Settings / Technical / System Parameters - update google_maps_api_key with your key. Same add also to Website Settings / Settings / Settings


Google Maps API key
by
ghandi
on 6/6/17, 8:35 AM

How do I generate the API Key from : https://console.developers.google.com/apis/api/static_maps_backend/overview?project= Is it mandatory so as to show the maps in Odoo ?