{"action":"closed","number":410,"pull_request":{"url":"https://api.github.com/repos/OCA/website/pulls/410","id":166223356,"html_url":"https://github.com/OCA/website/pull/410","diff_url":"https://github.com/OCA/website/pull/410.diff","patch_url":"https://github.com/OCA/website/pull/410.patch","issue_url":"https://api.github.com/repos/OCA/website/issues/410","number":410,"state":"closed","locked":false,"title":"[FIX] skip handling non-theme or non extenstion templates","user":{"login":"yelizariev","id":186131,"avatar_url":"https://avatars0.githubusercontent.com/u/186131?v=4","gravatar_id":"","url":"https://api.github.com/users/yelizariev","html_url":"https://github.com/yelizariev","followers_url":"https://api.github.com/users/yelizariev/followers","following_url":"https://api.github.com/users/yelizariev/following{/other_user}","gists_url":"https://api.github.com/users/yelizariev/gists{/gist_id}","starred_url":"https://api.github.com/users/yelizariev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yelizariev/subscriptions","organizations_url":"https://api.github.com/users/yelizariev/orgs","repos_url":"https://api.github.com/users/yelizariev/repos","events_url":"https://api.github.com/users/yelizariev/events{/privacy}","received_events_url":"https://api.github.com/users/yelizariev/received_events","type":"User","site_admin":false},"body":"Small update that can be considered independently from #409.\r\n\r\nTechnical details are in the code comments. Simple example of the error is theme with snippets. Once you set multi-theme for several website, you get error after initiating Website Editor  \r\n```\r\n\r\n  File \"/mnt/odoo-source/odoo/addons/base/ir/ir_qweb/qweb.py\", line 682, in _compile_directives\r\n    return compile_handler(el, options)\r\n  File \"/mnt/odoo-source/addons/web_editor/models/ir_qweb.py\", line 49, in _compile_directive_snippet\r\n    name = self.env['ir.ui.view'].search([('key', '=', el.attrib.get('t-call'))]).display_name\r\n  File \"/mnt/odoo-source/odoo/fields.py\", line 942, in __get__\r\n    record.ensure_one()\r\n  File \"/mnt/odoo-source/odoo/models.py\", line 4265, in ensure_one\r\n    raise ValueError(\"Expected singleton: %s\" % self)\r\nValueError: Expected singleton: ir.ui.view(1339, 1543)\r\n```","created_at":"2018-01-31T10:43:02Z","updated_at":"2018-04-25T19:03:28Z","closed_at":"2018-04-25T19:03:28Z","merged_at":null,"merge_commit_sha":"f46b0baeb0c7c9bf6aaaa3983e4d03e466e844bf","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OCA/website/pulls/410/commits","review_comments_url":"https://api.github.com/repos/OCA/website/pulls/410/comments","review_comment_url":"https://api.github.com/repos/OCA/website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/website/issues/410/comments","statuses_url":"https://api.github.com/repos/OCA/website/statuses/a4c1acdd5f975b41bd203d724f4d7e1879cc7b22","head":{"label":"yelizariev:11.0-website_multi_theme-fixes","ref":"11.0-website_multi_theme-fixes","sha":"a4c1acdd5f975b41bd203d724f4d7e1879cc7b22","user":{"login":"yelizariev","id":186131,"avatar_url":"https://avatars0.githubusercontent.com/u/186131?v=4","gravatar_id":"","url":"https://api.github.com/users/yelizariev","html_url":"https://github.com/yelizariev","followers_url":"https://api.github.com/users/yelizariev/followers","following_url":"https://api.github.com/users/yelizariev/following{/other_user}","gists_url":"https://api.github.com/users/yelizariev/gists{/gist_id}","starred_url":"https://api.github.com/users/yelizariev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yelizariev/subscriptions","organizations_url":"https://api.github.com/users/yelizariev/orgs","repos_url":"https://api.github.com/users/yelizariev/repos","events_url":"https://api.github.com/users/yelizariev/events{/privacy}","received_events_url":"https://api.github.com/users/yelizariev/received_events","type":"User","site_admin":false},"repo":{"id":69560168,"name":"website","full_name":"yelizariev/website","owner":{"login":"yelizariev","id":186131,"avatar_url":"https://avatars0.githubusercontent.com/u/186131?v=4","gravatar_id":"","url":"https://api.github.com/users/yelizariev","html_url":"https://github.com/yelizariev","followers_url":"https://api.github.com/users/yelizariev/followers","following_url":"https://api.github.com/users/yelizariev/following{/other_user}","gists_url":"https://api.github.com/users/yelizariev/gists{/gist_id}","starred_url":"https://api.github.com/users/yelizariev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yelizariev/subscriptions","organizations_url":"https://api.github.com/users/yelizariev/orgs","repos_url":"https://api.github.com/users/yelizariev/repos","events_url":"https://api.github.com/users/yelizariev/events{/privacy}","received_events_url":"https://api.github.com/users/yelizariev/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/yelizariev/website","description":"Odoo website builder addons","fork":true,"url":"https://api.github.com/repos/yelizariev/website","forks_url":"https://api.github.com/repos/yelizariev/website/forks","keys_url":"https://api.github.com/repos/yelizariev/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yelizariev/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yelizariev/website/teams","hooks_url":"https://api.github.com/repos/yelizariev/website/hooks","issue_events_url":"https://api.github.com/repos/yelizariev/website/issues/events{/number}","events_url":"https://api.github.com/repos/yelizariev/website/events","assignees_url":"https://api.github.com/repos/yelizariev/website/assignees{/user}","branches_url":"https://api.github.com/repos/yelizariev/website/branches{/branch}","tags_url":"https://api.github.com/repos/yelizariev/website/tags","blobs_url":"https://api.github.com/repos/yelizariev/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yelizariev/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yelizariev/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/yelizariev/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yelizariev/website/statuses/{sha}","languages_url":"https://api.github.com/repos/yelizariev/website/languages","stargazers_url":"https://api.github.com/repos/yelizariev/website/stargazers","contributors_url":"https://api.github.com/repos/yelizariev/website/contributors","subscribers_url":"https://api.github.com/repos/yelizariev/website/subscribers","subscription_url":"https://api.github.com/repos/yelizariev/website/subscription","commits_url":"https://api.github.com/repos/yelizariev/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/yelizariev/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/yelizariev/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/yelizariev/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/yelizariev/website/contents/{+path}","compare_url":"https://api.github.com/repos/yelizariev/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yelizariev/website/merges","archive_url":"https://api.github.com/repos/yelizariev/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yelizariev/website/downloads","issues_url":"https://api.github.com/repos/yelizariev/website/issues{/number}","pulls_url":"https://api.github.com/repos/yelizariev/website/pulls{/number}","milestones_url":"https://api.github.com/repos/yelizariev/website/milestones{/number}","notifications_url":"https://api.github.com/repos/yelizariev/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yelizariev/website/labels{/name}","releases_url":"https://api.github.com/repos/yelizariev/website/releases{/id}","deployments_url":"https://api.github.com/repos/yelizariev/website/deployments","created_at":"2016-09-29T11:13:54Z","updated_at":"2017-03-04T06:32:55Z","pushed_at":"2018-04-25T19:02:48Z","git_url":"git://github.com/yelizariev/website.git","ssh_url":"git@github.com:yelizariev/website.git","clone_url":"https://github.com/yelizariev/website.git","svn_url":"https://github.com/yelizariev/website","homepage":"","size":9080,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"9.0"}},"base":{"label":"OCA:11.0","ref":"11.0","sha":"3f140895f48578817702b741549bee26ab39fb5f","user":{"login":"OCA","id":7600578,"avatar_url":"https://avatars1.githubusercontent.com/u/7600578?v=4","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"repo":{"id":21942491,"name":"website","full_name":"OCA/website","owner":{"login":"OCA","id":7600578,"avatar_url":"https://avatars1.githubusercontent.com/u/7600578?v=4","gravatar_id":"","url":"https://api.github.com/users/OCA","html_url":"https://github.com/OCA","followers_url":"https://api.github.com/users/OCA/followers","following_url":"https://api.github.com/users/OCA/following{/other_user}","gists_url":"https://api.github.com/users/OCA/gists{/gist_id}","starred_url":"https://api.github.com/users/OCA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OCA/subscriptions","organizations_url":"https://api.github.com/users/OCA/orgs","repos_url":"https://api.github.com/users/OCA/repos","events_url":"https://api.github.com/users/OCA/events{/privacy}","received_events_url":"https://api.github.com/users/OCA/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/OCA/website","description":"Odoo website builder addons","fork":false,"url":"https://api.github.com/repos/OCA/website","forks_url":"https://api.github.com/repos/OCA/website/forks","keys_url":"https://api.github.com/repos/OCA/website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/website/teams","hooks_url":"https://api.github.com/repos/OCA/website/hooks","issue_events_url":"https://api.github.com/repos/OCA/website/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/website/events","assignees_url":"https://api.github.com/repos/OCA/website/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/website/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/website/tags","blobs_url":"https://api.github.com/repos/OCA/website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/website/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/website/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/website/languages","stargazers_url":"https://api.github.com/repos/OCA/website/stargazers","contributors_url":"https://api.github.com/repos/OCA/website/contributors","subscribers_url":"https://api.github.com/repos/OCA/website/subscribers","subscription_url":"https://api.github.com/repos/OCA/website/subscription","commits_url":"https://api.github.com/repos/OCA/website/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/website/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/website/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/website/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/website/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/website/merges","archive_url":"https://api.github.com/repos/OCA/website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/website/downloads","issues_url":"https://api.github.com/repos/OCA/website/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/website/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/website/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/website/labels{/name}","releases_url":"https://api.github.com/repos/OCA/website/releases{/id}","deployments_url":"https://api.github.com/repos/OCA/website/deployments","created_at":"2014-07-17T13:16:54Z","updated_at":"2018-04-19T09:57:01Z","pushed_at":"2018-04-25T19:03:00Z","git_url":"git://github.com/OCA/website.git","ssh_url":"git@github.com:OCA/website.git","clone_url":"https://github.com/OCA/website.git","svn_url":"https://github.com/OCA/website","homepage":"","size":11105,"stargazers_count":97,"watchers_count":97,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":313,"mirror_url":null,"archived":false,"open_issues_count":83,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0"},"forks":313,"open_issues":83,"watchers":97,"default_branch":"11.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/website/pulls/410"},"html":{"href":"https://github.com/OCA/website/pull/410"},"issue":{"href":"https://api.github.com/repos/OCA/website/issues/410"},"comments":{"href":"https://api.github.com/repos/OCA/website/issues/410/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/website/pulls/410/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/website/pulls/410/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/website/statuses/a4c1acdd5f975b41bd203d724f4d7e1879cc7b22"}},"author_association":"MEMBER","merged":false,"mergeable":true,"rebaseable":false,"mergeable_state":"unstable","merged_by":null,"comments":11,"review_comments":0,"maintainer_can_modify":false,"commits":2,"additions":12,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"yelizariev"}}