{"action":"created","issue":{"url":"https://api.github.com/repos/odoo/odoo/issues/29481","repository_url":"https://api.github.com/repos/odoo/odoo","labels_url":"https://api.github.com/repos/odoo/odoo/issues/29481/labels{/name}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/29481/comments","events_url":"https://api.github.com/repos/odoo/odoo/issues/29481/events","html_url":"https://github.com/odoo/odoo/pull/29481","id":390287369,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4MDg2MDQz","number":29481,"title":"[FIX] website: don't show switcher website if only 1 website","user":{"login":"JKE-be","id":4848797,"node_id":"MDQ6VXNlcjQ4NDg3OTc=","avatar_url":"https://avatars2.githubusercontent.com/u/4848797?v=4","gravatar_id":"","url":"https://api.github.com/users/JKE-be","html_url":"https://github.com/JKE-be","followers_url":"https://api.github.com/users/JKE-be/followers","following_url":"https://api.github.com/users/JKE-be/following{/other_user}","gists_url":"https://api.github.com/users/JKE-be/gists{/gist_id}","starred_url":"https://api.github.com/users/JKE-be/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JKE-be/subscriptions","organizations_url":"https://api.github.com/users/JKE-be/orgs","repos_url":"https://api.github.com/users/JKE-be/repos","events_url":"https://api.github.com/users/JKE-be/events{/privacy}","received_events_url":"https://api.github.com/users/JKE-be/received_events","type":"User","site_admin":false},"labels":[{"id":1044840932,"node_id":"MDU6TGFiZWwxMDQ0ODQwOTMy","url":"https://api.github.com/repos/odoo/odoo/labels/CI%20%F0%9F%A4%96","name":"CI 🤖","color":"ededed","default":false},{"id":106173385,"node_id":"MDU6TGFiZWwxMDYxNzMzODU=","url":"https://api.github.com/repos/odoo/odoo/labels/RD","name":"RD","color":"5319e7","default":false},{"id":1045098315,"node_id":"MDU6TGFiZWwxMDQ1MDk4MzE1","url":"https://api.github.com/repos/odoo/odoo/labels/merged%20%F0%9F%8E%89","name":"merged 🎉","color":"ededed","default":false},{"id":1044254354,"node_id":"MDU6TGFiZWwxMDQ0MjU0MzU0","url":"https://api.github.com/repos/odoo/odoo/labels/r+%20%F0%9F%91%8C","name":"r+ 👌","color":"ededed","default":false},{"id":1044215768,"node_id":"MDU6TGFiZWwxMDQ0MjE1NzY4","url":"https://api.github.com/repos/odoo/odoo/labels/seen%20%F0%9F%99%82","name":"seen 🙂","color":"ededed","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-12T15:49:52Z","updated_at":"2018-12-12T17:46:03Z","closed_at":null,"author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/29481","html_url":"https://github.com/odoo/odoo/pull/29481","diff_url":"https://github.com/odoo/odoo/pull/29481.diff","patch_url":"https://github.com/odoo/odoo/pull/29481.patch"},"body":"In some case, you can have multi website enabel with only 1 website:\r\n    - If you create a second and deleted it.\r\n    - Or after a migration to check common view and specific view e.g.\r\n\r\nIn this case, before this commit, you have switcher of country that is just\r\nan empty dropdown.\r\n\r\nDescription of the issue/feature this PR addresses:\r\n\r\nCurrent behavior before PR:\r\n\r\nDesired behavior after PR is merged:\r\n\r\n\r\n\r\n\r\n--\r\nI confirm I have signed the CLA and read the PR guidelines at www.odoo.com/submit-pr\r\n"},"comment":{"url":"https://api.github.com/repos/odoo/odoo/issues/comments/446678284","html_url":"https://github.com/odoo/odoo/pull/29481#issuecomment-446678284","issue_url":"https://api.github.com/repos/odoo/odoo/issues/29481","id":446678284,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0NjY3ODI4NA==","user":{"login":"robodoo","id":16837285,"node_id":"MDQ6VXNlcjE2ODM3Mjg1","avatar_url":"https://avatars0.githubusercontent.com/u/16837285?v=4","gravatar_id":"","url":"https://api.github.com/users/robodoo","html_url":"https://github.com/robodoo","followers_url":"https://api.github.com/users/robodoo/followers","following_url":"https://api.github.com/users/robodoo/following{/other_user}","gists_url":"https://api.github.com/users/robodoo/gists{/gist_id}","starred_url":"https://api.github.com/users/robodoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robodoo/subscriptions","organizations_url":"https://api.github.com/users/robodoo/orgs","repos_url":"https://api.github.com/users/robodoo/repos","events_url":"https://api.github.com/users/robodoo/events{/privacy}","received_events_url":"https://api.github.com/users/robodoo/received_events","type":"User","site_admin":false},"created_at":"2018-12-12T17:46:03Z","updated_at":"2018-12-12T17:46:03Z","author_association":"CONTRIBUTOR","body":"Merged, thanks!"}}
{"actor":{"display_login":"robodoo"}}