Odoo Help

0

Is there any Google Map module for Odoo 8?

By
Tim
on 3/10/15, 3:00 PM 2,726 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.

0

Akhil P Sivan

--Akhil P Sivan--
4035
| 5 3 7
Kochi, India
--Akhil P Sivan--

Interested in exploring Odoo both technically & functionality wise.

email-id : akhilpsivan01@gmail.com

Akhil P Sivan
On 2/13/17, 2:40 AM

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:

0

Zbik

--Zbik--
6313
| 6 4 7
Lodz, Poland
--Zbik--


Zbik
On 3/10/15, 4:07 PM

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

0

Jérémy Kersten (jke)

--Jérémy Kersten (jke)--
4580
| 3 3 5
Jodoigne, Belgium
--Jérémy Kersten (jke)--

Jérémy is a member of the core R&D team since september 2013. He developed several projects for OpenERP version 8 including the eCommerce, the Google Calendar synchronization and the new product variants/configurator. Now, he manages Odoo website and themes for saas.

Jérémy Kersten (jke)
On 3/10/15, 4:14 PM

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/

 

0
Tim
On 3/10/15, 6:06 PM

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...

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 !

Jérémy Kersten (jke)
on 3/10/15, 6:40 PM

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.

Tim
on 3/13/15, 3:29 AM

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.

Register

Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

5 follower(s)

Stats

Asked: 3/10/15, 3:00 PM
Seen: 2726 times
Last updated: 2/14/17, 9:41 AM