summaryrefslogtreecommitdiff
path: root/addons/analytic_user_function/analytic_user_function.py
diff options
context:
space:
mode:
authorJeremy Kersten <jke@odoo.com>2015-01-15 23:16:33 +0100
committerJeremy Kersten <jke@odoo.com>2015-01-15 23:16:33 +0100
commit9d89b179c4eb7f567b19544b786064542e633733 (patch)
treeb8e8188121c2faa448bb136d441390d604d2a949 /addons/analytic_user_function/analytic_user_function.py
parentc2344ad8eb5c5d190699d70d23c3d3aca053f3b6 (diff)
[FIX] website: search a matching route with http method POST
When url_for was looking for a route which match, it was only looking for GET route. So routes which were restricted to be used only with a POST method, were never found. The result was that urls in website for route post (form in most cases) was never prefixed with the lang. So the request.lang was always the default lang from website... If you was creating a sale order (in ecommerce), the lang used in sale order was wrong and the description not in the current lang.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function.py')
0 files changed, 0 insertions, 0 deletions