{"action":"opened","number":5711,"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/5711","id":30948763,"html_url":"https://github.com/odoo/odoo/pull/5711","diff_url":"https://github.com/odoo/odoo/pull/5711.diff","patch_url":"https://github.com/odoo/odoo/pull/5711.patch","issue_url":"https://api.github.com/repos/odoo/odoo/issues/5711","number":5711,"state":"open","locked":false,"title":"[FIX] Fix hiding of ViewManager header for ViewManager embedded in field...","user":{"login":"LeartS","id":5588738,"avatar_url":"https://avatars.githubusercontent.com/u/5588738?v=3","gravatar_id":"","url":"https://api.github.com/users/LeartS","html_url":"https://github.com/LeartS","followers_url":"https://api.github.com/users/LeartS/followers","following_url":"https://api.github.com/users/LeartS/following{/other_user}","gists_url":"https://api.github.com/users/LeartS/gists{/gist_id}","starred_url":"https://api.github.com/users/LeartS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeartS/subscriptions","organizations_url":"https://api.github.com/users/LeartS/orgs","repos_url":"https://api.github.com/users/LeartS/repos","events_url":"https://api.github.com/users/LeartS/events{/privacy}","received_events_url":"https://api.github.com/users/LeartS/received_events","type":"User","site_admin":false},"body":"...s.\r\n\r\none2many fields in views bring in the entire viewmanager widget.\r\nWhen there is only one view though\r\n(e.g. only kanban view for Contacts tab of partner),\r\nwe want to hide the viewmanager header because we don't need it\r\n(it's where the view switcher would go).\r\n\r\nOdoo had the widget logic to do that, but it was wrongly implemented,\r\nresulting in a always present oe_view_manager_header div with all\r\nits elements (although empty).\r\n\r\nThe wrong javascript operation should've triggered a client error\r\nwhen loading the view, but for pure chance it didn't because the\r\nt-jquery selector was wrong too so the javascript was never evaluated.","created_at":"2015-03-11T14:38:30Z","updated_at":"2015-03-11T14:38:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/odoo/odoo/pulls/5711/commits","review_comments_url":"https://api.github.com/repos/odoo/odoo/pulls/5711/comments","review_comment_url":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/5711/comments","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/256b7eff670f718e68b05929a9f368bff9894a44","head":{"label":"LeartS:fix-one2many_viewmanager-header","ref":"fix-one2many_viewmanager-header","sha":"256b7eff670f718e68b05929a9f368bff9894a44","user":{"login":"LeartS","id":5588738,"avatar_url":"https://avatars.githubusercontent.com/u/5588738?v=3","gravatar_id":"","url":"https://api.github.com/users/LeartS","html_url":"https://github.com/LeartS","followers_url":"https://api.github.com/users/LeartS/followers","following_url":"https://api.github.com/users/LeartS/following{/other_user}","gists_url":"https://api.github.com/users/LeartS/gists{/gist_id}","starred_url":"https://api.github.com/users/LeartS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeartS/subscriptions","organizations_url":"https://api.github.com/users/LeartS/orgs","repos_url":"https://api.github.com/users/LeartS/repos","events_url":"https://api.github.com/users/LeartS/events{/privacy}","received_events_url":"https://api.github.com/users/LeartS/received_events","type":"User","site_admin":false},"repo":{"id":21279485,"name":"odoo","full_name":"LeartS/odoo","owner":{"login":"LeartS","id":5588738,"avatar_url":"https://avatars.githubusercontent.com/u/5588738?v=3","gravatar_id":"","url":"https://api.github.com/users/LeartS","html_url":"https://github.com/LeartS","followers_url":"https://api.github.com/users/LeartS/followers","following_url":"https://api.github.com/users/LeartS/following{/other_user}","gists_url":"https://api.github.com/users/LeartS/gists{/gist_id}","starred_url":"https://api.github.com/users/LeartS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeartS/subscriptions","organizations_url":"https://api.github.com/users/LeartS/orgs","repos_url":"https://api.github.com/users/LeartS/repos","events_url":"https://api.github.com/users/LeartS/events{/privacy}","received_events_url":"https://api.github.com/users/LeartS/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/LeartS/odoo","description":"Odoo (formerly OpenERP). Open Source Business Apps.","fork":true,"url":"https://api.github.com/repos/LeartS/odoo","forks_url":"https://api.github.com/repos/LeartS/odoo/forks","keys_url":"https://api.github.com/repos/LeartS/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LeartS/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LeartS/odoo/teams","hooks_url":"https://api.github.com/repos/LeartS/odoo/hooks","issue_events_url":"https://api.github.com/repos/LeartS/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/LeartS/odoo/events","assignees_url":"https://api.github.com/repos/LeartS/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/LeartS/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/LeartS/odoo/tags","blobs_url":"https://api.github.com/repos/LeartS/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LeartS/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LeartS/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/LeartS/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LeartS/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/LeartS/odoo/languages","stargazers_url":"https://api.github.com/repos/LeartS/odoo/stargazers","contributors_url":"https://api.github.com/repos/LeartS/odoo/contributors","subscribers_url":"https://api.github.com/repos/LeartS/odoo/subscribers","subscription_url":"https://api.github.com/repos/LeartS/odoo/subscription","commits_url":"https://api.github.com/repos/LeartS/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/LeartS/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/LeartS/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/LeartS/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/LeartS/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/LeartS/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LeartS/odoo/merges","archive_url":"https://api.github.com/repos/LeartS/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LeartS/odoo/downloads","issues_url":"https://api.github.com/repos/LeartS/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/LeartS/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/LeartS/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/LeartS/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LeartS/odoo/labels{/name}","releases_url":"https://api.github.com/repos/LeartS/odoo/releases{/id}","created_at":"2014-06-27T15:01:18Z","updated_at":"2014-09-05T19:36:18Z","pushed_at":"2015-03-11T14:34:25Z","git_url":"git://github.com/LeartS/odoo.git","ssh_url":"git@github.com:LeartS/odoo.git","clone_url":"https://github.com/LeartS/odoo.git","svn_url":"https://github.com/LeartS/odoo","homepage":"https://www.odoo.com","size":622636,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"master"}},"base":{"label":"odoo:8.0","ref":"8.0","sha":"4cba11a7d466019382565e432d7a6e98964e62f3","user":{"login":"odoo","id":6368483,"avatar_url":"https://avatars.githubusercontent.com/u/6368483?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"repo":{"id":19745004,"name":"odoo","full_name":"odoo/odoo","owner":{"login":"odoo","id":6368483,"avatar_url":"https://avatars.githubusercontent.com/u/6368483?v=3","gravatar_id":"","url":"https://api.github.com/users/odoo","html_url":"https://github.com/odoo","followers_url":"https://api.github.com/users/odoo/followers","following_url":"https://api.github.com/users/odoo/following{/other_user}","gists_url":"https://api.github.com/users/odoo/gists{/gist_id}","starred_url":"https://api.github.com/users/odoo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoo/subscriptions","organizations_url":"https://api.github.com/users/odoo/orgs","repos_url":"https://api.github.com/users/odoo/repos","events_url":"https://api.github.com/users/odoo/events{/privacy}","received_events_url":"https://api.github.com/users/odoo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odoo/odoo","description":"Odoo (formerly OpenERP). Open Source Apps To Grow Your Business.","fork":false,"url":"https://api.github.com/repos/odoo/odoo","forks_url":"https://api.github.com/repos/odoo/odoo/forks","keys_url":"https://api.github.com/repos/odoo/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoo/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoo/odoo/teams","hooks_url":"https://api.github.com/repos/odoo/odoo/hooks","issue_events_url":"https://api.github.com/repos/odoo/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/odoo/odoo/events","assignees_url":"https://api.github.com/repos/odoo/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/odoo/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/odoo/odoo/tags","blobs_url":"https://api.github.com/repos/odoo/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoo/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoo/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoo/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/odoo/odoo/languages","stargazers_url":"https://api.github.com/repos/odoo/odoo/stargazers","contributors_url":"https://api.github.com/repos/odoo/odoo/contributors","subscribers_url":"https://api.github.com/repos/odoo/odoo/subscribers","subscription_url":"https://api.github.com/repos/odoo/odoo/subscription","commits_url":"https://api.github.com/repos/odoo/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoo/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoo/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoo/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/odoo/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/odoo/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoo/odoo/merges","archive_url":"https://api.github.com/repos/odoo/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoo/odoo/downloads","issues_url":"https://api.github.com/repos/odoo/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/odoo/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/odoo/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/odoo/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoo/odoo/labels{/name}","releases_url":"https://api.github.com/repos/odoo/odoo/releases{/id}","created_at":"2014-05-13T15:38:58Z","updated_at":"2015-03-11T13:50:10Z","pushed_at":"2015-03-11T14:33:27Z","git_url":"git://github.com/odoo/odoo.git","ssh_url":"git@github.com:odoo/odoo.git","clone_url":"https://github.com/odoo/odoo.git","svn_url":"https://github.com/odoo/odoo","homepage":"https://www.odoo.com","size":1106795,"stargazers_count":2193,"watchers_count":2193,"language":"Gettext Catalog","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1738,"mirror_url":null,"open_issues_count":2003,"forks":1738,"open_issues":2003,"watchers":2193,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo/pulls/5711"},"html":{"href":"https://github.com/odoo/odoo/pull/5711"},"issue":{"href":"https://api.github.com/repos/odoo/odoo/issues/5711"},"comments":{"href":"https://api.github.com/repos/odoo/odoo/issues/5711/comments"},"review_comments":{"href":"https://api.github.com/repos/odoo/odoo/pulls/5711/comments"},"review_comment":{"href":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/odoo/odoo/pulls/5711/commits"},"statuses":{"href":"https://api.github.com/repos/odoo/odoo/statuses/256b7eff670f718e68b05929a9f368bff9894a44"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}