odoo/addons/website/models
Jeremy Kersten 9d89b179c4 [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.
2015-01-15 23:16:33 +01:00
..
__init__.py [IMP] mail,website: improve update_notification 2014-09-15 18:53:22 +02:00
ir_actions.py [FIX] ir_actions in website: allow to compute website_path even when creating a new server action (avoid crash then) 2014-08-08 11:43:28 +02:00
ir_http.py [FIX] GeoIP - allow to specify the path to GeoIP in the server config. 2014-10-13 16:47:12 +02:00
ir_qweb.py [FIX] ir_qweb, website_blog: Allow to pass inline style as an option for the widget image. And change some img from blog to use this widget 2014-11-05 11:11:26 +01:00
ir_ui_view.py [FIX] website: add missing decorator for better guess type 2014-12-23 14:29:59 +01:00
res_config.py [FIX] website: can not change website name 2014-12-01 16:50:51 +01:00
test_models.py [IMP] website: disable translation exports for test models 2014-07-30 13:24:39 +02:00
update.py [IMP] mail,website: improve update_notification 2014-09-15 18:53:22 +02:00
website.py [FIX] website: search a matching route with http method POST 2015-01-15 23:16:33 +01:00