summaryrefslogtreecommitdiff
path: root/addons/website_google_map
diff options
context:
space:
mode:
authorChristophe Simonis <christophe@kn.gl>2014-05-20 17:12:01 +0200
committerChristophe Simonis <christophe@kn.gl>2014-05-20 17:12:01 +0200
commitd93f628c725ebac3d2d4a421ef788df1114bb2fc (patch)
treed2f2eb46a7310862fc22474a5cbf01fd81ab86e2 /addons/website_google_map
parent8f0066d728ae90f5c33520777c42c7fb3652437d (diff)
parent40abb97136c865b30132dcaa6afff140e9b1ab9d (diff)
[MERGE] merge bzr saas-4 addons branch
Diffstat (limited to 'addons/website_google_map')
-rw-r--r--addons/website_google_map/controllers/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_google_map/controllers/main.py b/addons/website_google_map/controllers/main.py
index 01a0cc3b85e..9de241a00fd 100644
--- a/addons/website_google_map/controllers/main.py
+++ b/addons/website_google_map/controllers/main.py
@@ -28,7 +28,7 @@ class google_map(http.Controller):
return partner_obj.google_map_json(request.cr, openerp.SUPERUSER_ID,
partner_ids, request.context)
- @http.route(['/google_map/set_partner_position'], type='http', auth="public", website=True)
+ @http.route(['/google_map/set_partner_position'], type='http', methods=['POST'], auth="public", website=True)
def google_map_set_partner_position(self, *arg, **post):
partner_obj = request.registry['res.partner']