change url of GoMaps

develop
Andreas Osim 2018-07-30 12:50:39 +02:00
parent 315b6125d1
commit 719fb29d84
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class TZgoMaps(models.Model):
zip = record.zip+',' if record.zip else ''
city = record.city+',' if record.city else ''
country_code = record.country_id.code+',' if record.country_id.code else ''
gomaps_link = 'https://www.google.at/maps/place/'+street.replace('/','.')+zip+city+country_code
gomaps_link = 'https://www.google.com/maps/place/'+street.replace('/','.')+zip+city+country_code
return {
'type': 'ir.actions.act_url',
'url': '%s' % gomaps_link,