[IMP] website: google maps url

Use the protocol as the current page to avoid warning with mixed content (loading map in http inside an https page)
This commit is contained in:
Martin Trigaux 2014-10-23 12:38:31 +02:00
parent ec7fd06ade
commit d5235f7326
1 changed files with 1 additions and 1 deletions

View File

@ -778,7 +778,7 @@ class res_partner(osv.osv):
'zoom': zoom,
'sensor': 'false',
}
return urlplus('http://maps.googleapis.com/maps/api/staticmap' , params)
return urlplus('//maps.googleapis.com/maps/api/staticmap' , params)
def google_map_link(self, cr, uid, ids, zoom=8, context=None):
partner = self.browse(cr, uid, ids[0], context=context)