simple version of google maps directions (take start point of users company); remove print statement

develop
Andreas Osim 2019-04-09 11:23:13 +02:00
parent 1673325de3
commit 9d5feebe2c
1 changed files with 1 additions and 1 deletions

View File

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