{"action":"opened","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/9949","labels_url":"https://api.github.com/repos/odoo/odoo/issues/9949/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/9949/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/9949/events","html_url":"https://github.com/odoo/odoo/issues/9949","id":120727547,"number":9949,"title":"Wrong language set in session for portal signup","user":{"login":"PCatinean","id":3704235,"avatar_url":"https://avatars.githubusercontent.com/u/3704235?v=3","gravatar_id":"","url":"https://api.github.com/users/PCatinean","html_url":"https://github.com/PCatinean","followers_url":"https://api.github.com/users/PCatinean/followers","following_url":"https://api.github.com/users/PCatinean/following{/other_user}","gists_url":"https://api.github.com/users/PCatinean/gists{/gist_id}","starred_url":"https://api.github.com/users/PCatinean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PCatinean/subscriptions","organizations_url":"https://api.github.com/users/PCatinean/orgs","repos_url":"https://api.github.com/users/PCatinean/repos","events_url":"https://api.github.com/users/PCatinean/events{/privacy}","received_events_url":"https://api.github.com/users/PCatinean/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-12-07T09:04:48Z","updated_at":"2015-12-07T09:04:48Z","closed_at":null,"body":"**Session language setup to english for all portal invitations**\r\n\r\nImpacted versions:\r\n\r\n - 8.0\r\n- Probably 9.0 (did not check)\r\n\r\nSteps to reproduce:\r\n\r\n 1. Send portal invitation to user with a different language via email\r\n 2. Access link in email for /web/signup?token=foo\r\n\r\nCurrent behavior:\r\n\r\n- English is set as default language\r\n\r\nExpected behavior:\r\n\r\n - Language on the portal user / res.partner should be used instead as it is wrong to receive a email invitation to portal in German and end up at a English signup page\r\n\r\nThis happens when line 1352 in openerp.http.py hits, it has no language in request.session.context and sets the default english"}}