{"action":"opened","number":12756,"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/12756","id":76959553,"html_url":"https://github.com/odoo/odoo/pull/12756","diff_url":"https://github.com/odoo/odoo/pull/12756.diff","patch_url":"https://github.com/odoo/odoo/pull/12756.patch","issue_url":"https://api.github.com/repos/odoo/odoo/issues/12756","number":12756,"state":"open","locked":false,"title":"[FIX] Prevent error 'cannot drop columns from view'.","user":{"login":"NL66278","id":6080487,"avatar_url":"https://avatars.githubusercontent.com/u/6080487?v=3","gravatar_id":"","url":"https://api.github.com/users/NL66278","html_url":"https://github.com/NL66278","followers_url":"https://api.github.com/users/NL66278/followers","following_url":"https://api.github.com/users/NL66278/following{/other_user}","gists_url":"https://api.github.com/users/NL66278/gists{/gist_id}","starred_url":"https://api.github.com/users/NL66278/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NL66278/subscriptions","organizations_url":"https://api.github.com/users/NL66278/orgs","repos_url":"https://api.github.com/users/NL66278/repos","events_url":"https://api.github.com/users/NL66278/events{/privacy}","received_events_url":"https://api.github.com/users/NL66278/received_events","type":"User","site_admin":false},"body":"Description of the issue/feature this PR addresses:\r\nhttps://github.com/odoo/odoo/issues/12754\r\n\r\nCurrent behavior before PR: Update involving module hr_timesheet_sheet crashes\r\n\r\nDesired behavior after PR is merged: Update succesfull. No crash\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\r\nCreate or replace view in many cases will error out. This will prevent database update.\r\n\r\nFixes issue #12754","created_at":"2016-07-11T14:06:32Z","updated_at":"2016-07-11T14:06:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7e6787b3028e4735d23c0baaea5bd243011a3df5","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/odoo/odoo/pulls/12756/commits","review_comments_url":"https://api.github.com/repos/odoo/odoo/pulls/12756/comments","review_comment_url":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/12756/comments","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/de501c1c4febd15170a4a6bbbd50329a08549039","head":{"label":"NL66278:8.0-odoo-drop-view-before-create","ref":"8.0-odoo-drop-view-before-create","sha":"de501c1c4febd15170a4a6bbbd50329a08549039","user":{"login":"NL66278","id":6080487,"avatar_url":"https://avatars.githubusercontent.com/u/6080487?v=3","gravatar_id":"","url":"https://api.github.com/users/NL66278","html_url":"https://github.com/NL66278","followers_url":"https://api.github.com/users/NL66278/followers","following_url":"https://api.github.com/users/NL66278/following{/other_user}","gists_url":"https://api.github.com/users/NL66278/gists{/gist_id}","starred_url":"https://api.github.com/users/NL66278/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NL66278/subscriptions","organizations_url":"https://api.github.com/users/NL66278/orgs","repos_url":"https://api.github.com/users/NL66278/repos","events_url":"https://api.github.com/users/NL66278/events{/privacy}","received_events_url":"https://api.github.com/users/NL66278/received_events","type":"User","site_admin":false},"repo":{"id":26969059,"name":"odoo","full_name":"NL66278/odoo","owner":{"login":"NL66278","id":6080487,"avatar_url":"https://avatars.githubusercontent.com/u/6080487?v=3","gravatar_id":"","url":"https://api.github.com/users/NL66278","html_url":"https://github.com/NL66278","followers_url":"https://api.github.com/users/NL66278/followers","following_url":"https://api.github.com/users/NL66278/following{/other_user}","gists_url":"https://api.github.com/users/NL66278/gists{/gist_id}","starred_url":"https://api.github.com/users/NL66278/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NL66278/subscriptions","organizations_url":"https://api.github.com/users/NL66278/orgs","repos_url":"https://api.github.com/users/NL66278/repos","events_url":"https://api.github.com/users/NL66278/events{/privacy}","received_events_url":"https://api.github.com/users/NL66278/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/NL66278/odoo","description":"Odoo Community Backports","fork":true,"url":"https://api.github.com/repos/NL66278/odoo","forks_url":"https://api.github.com/repos/NL66278/odoo/forks","keys_url":"https://api.github.com/repos/NL66278/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/NL66278/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/NL66278/odoo/teams","hooks_url":"https://api.github.com/repos/NL66278/odoo/hooks","issue_events_url":"https://api.github.com/repos/NL66278/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/NL66278/odoo/events","assignees_url":"https://api.github.com/repos/NL66278/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/NL66278/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/NL66278/odoo/tags","blobs_url":"https://api.github.com/repos/NL66278/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/NL66278/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/NL66278/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/NL66278/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/NL66278/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/NL66278/odoo/languages","stargazers_url":"https://api.github.com/repos/NL66278/odoo/stargazers","contributors_url":"https://api.github.com/repos/NL66278/odoo/contributors","subscribers_url":"https://api.github.com/repos/NL66278/odoo/subscribers","subscription_url":"https://api.github.com/repos/NL66278/odoo/subscription","commits_url":"https://api.github.com/repos/NL66278/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/NL66278/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/NL66278/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/NL66278/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/NL66278/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/NL66278/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/NL66278/odoo/merges","archive_url":"https://api.github.com/repos/NL66278/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/NL66278/odoo/downloads","issues_url":"https://api.github.com/repos/NL66278/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/NL66278/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/NL66278/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/NL66278/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/NL66278/odoo/labels{/name}","releases_url":"https://api.github.com/repos/NL66278/odoo/releases{/id}","deployments_url":"https://api.github.com/repos/NL66278/odoo/deployments","created_at":"2014-11-21T17:01:49Z","updated_at":"2015-12-14T12:36:08Z","pushed_at":"2016-07-11T13:55:29Z","git_url":"git://github.com/NL66278/odoo.git","ssh_url":"git@github.com:NL66278/odoo.git","clone_url":"https://github.com/NL66278/odoo.git","svn_url":"https://github.com/NL66278/odoo","homepage":"http://odoo-community.org","size":1115406,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"8.0"}},"base":{"label":"odoo:8.0","ref":"8.0","sha":"965024902db880af005a9688a277b28e076a4a7e","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}","deployments_url":"https://api.github.com/repos/odoo/odoo/deployments","created_at":"2014-05-13T15:38:58Z","updated_at":"2016-07-11T12:06:33Z","pushed_at":"2016-07-11T14:06:32Z","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":1787617,"stargazers_count":4619,"watchers_count":4619,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4413,"mirror_url":null,"open_issues_count":3160,"forks":4413,"open_issues":3160,"watchers":4619,"default_branch":"9.0"}},"_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo/pulls/12756"},"html":{"href":"https://github.com/odoo/odoo/pull/12756"},"issue":{"href":"https://api.github.com/repos/odoo/odoo/issues/12756"},"comments":{"href":"https://api.github.com/repos/odoo/odoo/issues/12756/comments"},"review_comments":{"href":"https://api.github.com/repos/odoo/odoo/pulls/12756/comments"},"review_comment":{"href":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/odoo/odoo/pulls/12756/commits"},"statuses":{"href":"https://api.github.com/repos/odoo/odoo/statuses/de501c1c4febd15170a4a6bbbd50329a08549039"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":7,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"NL66278"}}