This question has been flagged
6 Replies
7571 Views

Is there any Google Map intergated module for Odoo 8? There is one for OpenERP 7. Will it work on Odoo 8?

I want to be able to look up my customer address on the map.

Avatar
Discard
Best Answer

Hi, 

You may download the following module & make a few changes, it will work on Odoo 8. And you will get a map button on partner form.

1. Download https://apps.openerp.com/apps/modules/10.0/google_map/

2. Rename __manifest__.py to __openerp__.py

3. open google_map_launch.py, remove all library imports and paste the following:

from openerp.tools.translate import _
from openerp import models, fields, api, exceptions, tools

4. open google_map_view.xml, remove the following xpath:

<xpath expr="/form/sheet/notebook/page/field[@name='child_ids']/form/sheet/group/group/div/div[@name='div_address']/field[@name='street']" position="before">                    
    <button name="open_map" string="Map" type="object" class="oe_link or_right" />
</xpath>

5. Restart & upgrade the module. You will get like this:

Avatar
Discard
Best Answer

Yes, you install standard v8 website_google_map module (it works on frontend).

Avatar
Discard
Best Answer

Hello,

Website_Google_map module add a controller to see partners (website published and is company) on a map...

https://www.odoo.com/google_map?partner_ids=554,18671,3580,24098,10208,1315,367377,280741,264615,440987,121744&partner_url=/partners/

 

Avatar
Discard
Author Best Answer

Thank you for your help! I installed the website_google_map module. I didn't see any way to use this module on frontend. I don't plan to use the website at all, just frontend. How can I access to the map from frontend? Is it same as Google Maps module for OpenERP 7 where it adds Map button on the partner form.

There is a new tab labelled "Geo Localization" in partner form. I click on the "Geo Localize" button and it just fills out the geo coordinates but not taking me to the map...

Avatar
Discard

if you have coorddinates, you can easily do a link to https://maps.google.com/?ie=UTF8&ll={latitude},{longitude} If you prefer you can use address easily: https://www.google.com/maps/place/Chaussée+de+Namur,+1367+Ramillies Else you can follow tuto here : https://www.odoo.com/documentation/8.0/howtos/web.html#the-form-view-custom-widgets to create a quick google map widget !

Author

ok I will look into this when I have time. thanks! i was hoping there is a module to place a map button or something like that without coding.