diff options
| author | Nicolas Martinelli <nim@odoo.com> | 2016-06-29 16:39:51 +0200 |
|---|---|---|
| committer | Nicolas Martinelli <nim@odoo.com> | 2016-06-29 16:39:51 +0200 |
| commit | a4e4881f4c82323bfe33c8cdc5f828d2ed1d883d (patch) | |
| tree | 229ff4664e4f3cebdb4865761c39b798c747b515 | |
| parent | cef9759c314bfd780949a9f526ec4b3799963ad0 (diff) | |
[FIX] website_portal: missing kwargs
The route "/my/home" is missing kwargs, therefore switching to debug
mode or trying to translate leads to a traceback.
opw-681380
| -rw-r--r-- | addons/website_portal/controllers/main.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/website_portal/controllers/main.py b/addons/website_portal/controllers/main.py index 05627e83416..dc900002be7 100644 --- a/addons/website_portal/controllers/main.py +++ b/addons/website_portal/controllers/main.py @@ -7,7 +7,7 @@ from openerp.tools.translate import _ class website_account(http.Controller): @http.route(['/my', '/my/home'], type='http', auth="public", website=True) - def account(self): + def account(self, **kw): partner = request.env.user.partner_id # get customer sales rep |
