simple version of google maps directions (take start point of users company); remove print statement
							parent
							
								
									1673325de3
								
							
						
					
					
						commit
						9d5feebe2c
					
				| 
						 | 
				
			
			@ -29,7 +29,7 @@ class WizardRouteMaps(models.TransientModel):
 | 
			
		|||
                        address += "/"+urllib.parse.quote(so.partner_shipping_id.street,safe='')+","+so.partner_shipping_id.zip+","+so.partner_shipping_id.city+","+so.partner_shipping_id.country_id.name
 | 
			
		||||
 | 
			
		||||
            gomaps_link = "https://www.google.at/maps/dir/"+home_address+address
 | 
			
		||||
            print(gomaps_link)
 | 
			
		||||
#            print(gomaps_link)
 | 
			
		||||
            # action = self.env.ref('sale.action_orders').read()[0]
 | 
			
		||||
            # action['domain'] = [('id', 'in', active_ids)]
 | 
			
		||||
            # return action
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue