[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
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user