{"action":"opened","number":22854,"pull_request":{"url":"https://api.github.com/repos/odoo/odoo/pulls/22854","id":167460813,"html_url":"https://github.com/odoo/odoo/pull/22854","diff_url":"https://github.com/odoo/odoo/pull/22854.diff","patch_url":"https://github.com/odoo/odoo/pull/22854.patch","issue_url":"https://api.github.com/repos/odoo/odoo/issues/22854","number":22854,"state":"open","locked":false,"title":"Master fix account: view_move_line_form","user":{"login":"mreficent","id":25005517,"avatar_url":"https://avatars3.githubusercontent.com/u/25005517?v=4","gravatar_id":"","url":"https://api.github.com/users/mreficent","html_url":"https://github.com/mreficent","followers_url":"https://api.github.com/users/mreficent/followers","following_url":"https://api.github.com/users/mreficent/following{/other_user}","gists_url":"https://api.github.com/users/mreficent/gists{/gist_id}","starred_url":"https://api.github.com/users/mreficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mreficent/subscriptions","organizations_url":"https://api.github.com/users/mreficent/orgs","repos_url":"https://api.github.com/users/mreficent/repos","events_url":"https://api.github.com/users/mreficent/events{/privacy}","received_events_url":"https://api.github.com/users/mreficent/received_events","type":"User","site_admin":false},"body":"Description of the issue/feature this PR addresses:\r\n\r\nThe `view_move_line_tree` view in `account` module has `create=false`. But the `view_move_line_form` view doesn't have this clause. This is an inconsistency, as the user in the tree view can click on a record to go to the form view and then click on the create button.\r\n\r\nCurrent behavior before PR:\r\nYou can create easily new account move lines from the form view.\r\n\r\nDesired behavior after PR is merged:\r\nYou can't create easily account move lines from the form view.\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","created_at":"2018-02-06T16:21:04Z","updated_at":"2018-02-06T16:21:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"milestone":null,"commits_url":"https://api.github.com/repos/odoo/odoo/pulls/22854/commits","review_comments_url":"https://api.github.com/repos/odoo/odoo/pulls/22854/comments","review_comment_url":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/odoo/odoo/issues/22854/comments","statuses_url":"https://api.github.com/repos/odoo/odoo/statuses/ff46012be605f0b5ef91a434ed216e838fd032e1","head":{"label":"Eficent:master-fix-account_move_line-form_view","ref":"master-fix-account_move_line-form_view","sha":"ff46012be605f0b5ef91a434ed216e838fd032e1","user":{"login":"Eficent","id":7718403,"avatar_url":"https://avatars0.githubusercontent.com/u/7718403?v=4","gravatar_id":"","url":"https://api.github.com/users/Eficent","html_url":"https://github.com/Eficent","followers_url":"https://api.github.com/users/Eficent/followers","following_url":"https://api.github.com/users/Eficent/following{/other_user}","gists_url":"https://api.github.com/users/Eficent/gists{/gist_id}","starred_url":"https://api.github.com/users/Eficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eficent/subscriptions","organizations_url":"https://api.github.com/users/Eficent/orgs","repos_url":"https://api.github.com/users/Eficent/repos","events_url":"https://api.github.com/users/Eficent/events{/privacy}","received_events_url":"https://api.github.com/users/Eficent/received_events","type":"Organization","site_admin":false},"repo":{"id":30303054,"name":"odoo","full_name":"Eficent/odoo","owner":{"login":"Eficent","id":7718403,"avatar_url":"https://avatars0.githubusercontent.com/u/7718403?v=4","gravatar_id":"","url":"https://api.github.com/users/Eficent","html_url":"https://github.com/Eficent","followers_url":"https://api.github.com/users/Eficent/followers","following_url":"https://api.github.com/users/Eficent/following{/other_user}","gists_url":"https://api.github.com/users/Eficent/gists{/gist_id}","starred_url":"https://api.github.com/users/Eficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eficent/subscriptions","organizations_url":"https://api.github.com/users/Eficent/orgs","repos_url":"https://api.github.com/users/Eficent/repos","events_url":"https://api.github.com/users/Eficent/events{/privacy}","received_events_url":"https://api.github.com/users/Eficent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Eficent/odoo","description":"Odoo (formerly OpenERP). Open Source Apps To Grow Your Business.","fork":true,"url":"https://api.github.com/repos/Eficent/odoo","forks_url":"https://api.github.com/repos/Eficent/odoo/forks","keys_url":"https://api.github.com/repos/Eficent/odoo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eficent/odoo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eficent/odoo/teams","hooks_url":"https://api.github.com/repos/Eficent/odoo/hooks","issue_events_url":"https://api.github.com/repos/Eficent/odoo/issues/events{/number}","events_url":"https://api.github.com/repos/Eficent/odoo/events","assignees_url":"https://api.github.com/repos/Eficent/odoo/assignees{/user}","branches_url":"https://api.github.com/repos/Eficent/odoo/branches{/branch}","tags_url":"https://api.github.com/repos/Eficent/odoo/tags","blobs_url":"https://api.github.com/repos/Eficent/odoo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eficent/odoo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eficent/odoo/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eficent/odoo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eficent/odoo/statuses/{sha}","languages_url":"https://api.github.com/repos/Eficent/odoo/languages","stargazers_url":"https://api.github.com/repos/Eficent/odoo/stargazers","contributors_url":"https://api.github.com/repos/Eficent/odoo/contributors","subscribers_url":"https://api.github.com/repos/Eficent/odoo/subscribers","subscription_url":"https://api.github.com/repos/Eficent/odoo/subscription","commits_url":"https://api.github.com/repos/Eficent/odoo/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eficent/odoo/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eficent/odoo/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eficent/odoo/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eficent/odoo/contents/{+path}","compare_url":"https://api.github.com/repos/Eficent/odoo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eficent/odoo/merges","archive_url":"https://api.github.com/repos/Eficent/odoo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eficent/odoo/downloads","issues_url":"https://api.github.com/repos/Eficent/odoo/issues{/number}","pulls_url":"https://api.github.com/repos/Eficent/odoo/pulls{/number}","milestones_url":"https://api.github.com/repos/Eficent/odoo/milestones{/number}","notifications_url":"https://api.github.com/repos/Eficent/odoo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eficent/odoo/labels{/name}","releases_url":"https://api.github.com/repos/Eficent/odoo/releases{/id}","deployments_url":"https://api.github.com/repos/Eficent/odoo/deployments","created_at":"2015-02-04T14:37:42Z","updated_at":"2016-05-02T12:36:09Z","pushed_at":"2018-02-06T16:10:42Z","git_url":"git://github.com/Eficent/odoo.git","ssh_url":"git@github.com:Eficent/odoo.git","clone_url":"https://github.com/Eficent/odoo.git","svn_url":"https://github.com/Eficent/odoo","homepage":"https://www.odoo.com","size":1927764,"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":"8.0"}},"base":{"label":"odoo:master","ref":"master","sha":"20f2de82965ed782f14f4154f750853ae5c297f8","user":{"login":"odoo","id":6368483,"avatar_url":"https://avatars2.githubusercontent.com/u/6368483?v=4","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://avatars2.githubusercontent.com/u/6368483?v=4","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. 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":"2018-02-06T14:57:54Z","pushed_at":"2018-02-06T16:14:28Z","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":1939828,"stargazers_count":8707,"watchers_count":8707,"language":"Python","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7582,"mirror_url":null,"archived":false,"open_issues_count":2637,"license":null,"forks":7582,"open_issues":2637,"watchers":8707,"default_branch":"11.0"}},"_links":{"self":{"href":"https://api.github.com/repos/odoo/odoo/pulls/22854"},"html":{"href":"https://github.com/odoo/odoo/pull/22854"},"issue":{"href":"https://api.github.com/repos/odoo/odoo/issues/22854"},"comments":{"href":"https://api.github.com/repos/odoo/odoo/issues/22854/comments"},"review_comments":{"href":"https://api.github.com/repos/odoo/odoo/pulls/22854/comments"},"review_comment":{"href":"https://api.github.com/repos/odoo/odoo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/odoo/odoo/pulls/22854/commits"},"statuses":{"href":"https://api.github.com/repos/odoo/odoo/statuses/ff46012be605f0b5ef91a434ed216e838fd032e1"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"mreficent"}}