summaryrefslogtreecommitdiff
path: root/addons/google_map/wizard/google_map_launch.py
diff options
context:
space:
mode:
authorrpa (Open ERP) <rpa@tinyerp.com>2010-12-16 11:23:48 +0530
committerrpa (Open ERP) <rpa@tinyerp.com>2010-12-16 11:23:48 +0530
commit7d5e28fbb8d49b8a2825bfdd525938d99574e234 (patch)
treec1e90a7757ef2b3fee2190a44a4f7d448707d23b /addons/google_map/wizard/google_map_launch.py
parent953a15d2a7391370414462402198780b06d45243 (diff)
parent4e307d022c8fbdba848b8a4f57d668a4b6bd036f (diff)
[MERGE]: Merge with lp:~openerp-dev/openobject-addons/trunk-dev-addons2
bzr revid: rpa@tinyerp.com-20101216055348-7yrvv48hjq15grv9
Diffstat (limited to 'addons/google_map/wizard/google_map_launch.py')
-rw-r--r--addons/google_map/wizard/google_map_launch.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/google_map/wizard/google_map_launch.py b/addons/google_map/wizard/google_map_launch.py
index 12ab32fbf54..a2b3003da7c 100644
--- a/addons/google_map/wizard/google_map_launch.py
+++ b/addons/google_map/wizard/google_map_launch.py
@@ -25,9 +25,9 @@ import pooler
from osv import fields
import time
-def _launch_wizard(self, cr, uid, data, context):
+def _launch_wizard(self, cr, uid, data, context=None):
address_obj= pooler.get_pool(cr.dbname).get('res.partner.address')
- m= address_obj.browse(cr,uid,data['id'],context)
+ m= address_obj.browse(cr, uid, data['id'], context=context)
url=''
url="http://maps.google.com/maps?oi=map&q="
if m.street: