diff options
Diffstat (limited to 'addons/google_map/wizard')
| -rw-r--r-- | addons/google_map/wizard/google_map_launch.py | 4 |
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: |
