summaryrefslogtreecommitdiff
path: root/addons/google_map/wizard
diff options
context:
space:
mode:
authorrpa (Open ERP) <rpa@tinyerp.com>2010-12-20 13:52:55 +0530
committerrpa (Open ERP) <rpa@tinyerp.com>2010-12-20 13:52:55 +0530
commit4e307d022c8fbdba848b8a4f57d668a4b6bd036f (patch)
tree249f8361bac695c0bec0c844d964194202d680a0 /addons/google_map/wizard
parent6e34e7c52a3f37876b627fb5c80ac79d3c614807 (diff)
parentc2f85df411949653257c5b51f1578a1e40709510 (diff)
[MERGE]: Merge with lp:openobject-addons
bzr revid: rpa@tinyerp.com-20101215042654-04ccazkz5v57ml3j bzr revid: rpa@tinyerp.com-20101216043335-ji5h61dra451cml4 bzr revid: rpa@tinyerp.com-20101220082255-1g3ea50rkjlacwqw
Diffstat (limited to 'addons/google_map/wizard')
-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: