change url of GoMaps
							parent
							
								
									315b6125d1
								
							
						
					
					
						commit
						719fb29d84
					
				|  | @ -13,7 +13,7 @@ class TZgoMaps(models.Model): | ||||||
|             zip = record.zip+',' if record.zip else '' |             zip = record.zip+',' if record.zip else '' | ||||||
|             city = record.city+',' if record.city else '' |             city = record.city+',' if record.city else '' | ||||||
|             country_code = record.country_id.code+',' if record.country_id.code 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 { |         return { | ||||||
|             'type': 'ir.actions.act_url', |             'type': 'ir.actions.act_url', | ||||||
|             'url': '%s' % gomaps_link, |             'url': '%s' % gomaps_link, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue