{"action":"opened","number":205,"pull_request":{"url":"https://api.github.com/repos/OCA/account-financial-tools/pulls/205","id":34361590,"html_url":"https://github.com/OCA/account-financial-tools/pull/205","diff_url":"https://github.com/OCA/account-financial-tools/pull/205.diff","patch_url":"https://github.com/OCA/account-financial-tools/pull/205.patch","issue_url":"https://api.github.com/repos/OCA/account-financial-tools/issues/205","number":205,"state":"open","locked":false,"title":"Add update_posted in journal items to display or not the button cancel","user":{"login":"laetitia-gangloff","id":7602419,"avatar_url":"https://avatars.githubusercontent.com/u/7602419?v=3","gravatar_id":"","url":"https://api.github.com/users/laetitia-gangloff","html_url":"https://github.com/laetitia-gangloff","followers_url":"https://api.github.com/users/laetitia-gangloff/followers","following_url":"https://api.github.com/users/laetitia-gangloff/following{/other_user}","gists_url":"https://api.github.com/users/laetitia-gangloff/gists{/gist_id}","starred_url":"https://api.github.com/users/laetitia-gangloff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/laetitia-gangloff/subscriptions","organizations_url":"https://api.github.com/users/laetitia-gangloff/orgs","repos_url":"https://api.github.com/users/laetitia-gangloff/repos","events_url":"https://api.github.com/users/laetitia-gangloff/events{/privacy}","received_events_url":"https://api.github.com/users/laetitia-gangloff/received_events","type":"User","site_admin":false},"body":"The goal is to use update_posted set on journal to display the cancel button on account_move.\r\n\r\nAs suggest by @sbidoul in #150, I \"make the cancel button appear only if update_posted is true and account_cancel is installed\".\r\n\r\nForward port of #175 ","created_at":"2015-04-29T13:19:22Z","updated_at":"2015-04-29T13:19:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/account-financial-tools/pulls/205/commits","review_comments_url":"https://api.github.com/repos/OCA/account-financial-tools/pulls/205/comments","review_comment_url":"https://api.github.com/repos/OCA/account-financial-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/account-financial-tools/issues/205/comments","statuses_url":"https://api.github.com/repos/OCA/account-financial-tools/statuses/0aff81c74ff953866c0a8208b5812ca2e0ecbaf0","head":{"label":"acsone:8.0-default_draft_move_display_button_cancel-lga","ref":"8.0-default_draft_move_display_button_cancel-lga","sha":"0aff81c74ff953866c0a8208b5812ca2e0ecbaf0","user":{"login":"acsone","id":7601056,"avatar_url":"https://avatars.githubusercontent.com/u/7601056?v=3","gravatar_id":"","url":"https://api.github.com/users/acsone","html_url":"https://github.com/acsone","followers_url":"https://api.github.com/users/acsone/followers","following_url":"https://api.github.com/users/acsone/following{/other_user}","gists_url":"https://api.github.com/users/acsone/gists{/gist_id}","starred_url":"https://api.github.com/users/acsone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acsone/subscriptions","organizations_url":"https://api.github.com/users/acsone/orgs","repos_url":"https://api.github.com/users/acsone/repos","events_url":"https://api.github.com/users/acsone/events{/privacy}","received_events_url":"https://api.github.com/users/acsone/received_events","type":"Organization","site_admin":false},"repo":{"id":21984283,"name":"account-financial-tools","full_name":"acsone/account-financial-tools","owner":{"login":"acsone","id":7601056,"avatar_url":"https://avatars.githubusercontent.com/u/7601056?v=3","gravatar_id":"","url":"https://api.github.com/users/acsone","html_url":"https://github.com/acsone","followers_url":"https://api.github.com/users/acsone/followers","following_url":"https://api.github.com/users/acsone/following{/other_user}","gists_url":"https://api.github.com/users/acsone/gists{/gist_id}","starred_url":"https://api.github.com/users/acsone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/acsone/subscriptions","organizations_url":"https://api.github.com/users/acsone/orgs","repos_url":"https://api.github.com/users/acsone/repos","events_url":"https://api.github.com/users/acsone/events{/privacy}","received_events_url":"https://api.github.com/users/acsone/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/acsone/account-financial-tools","description":"","fork":true,"url":"https://api.github.com/repos/acsone/account-financial-tools","forks_url":"https://api.github.com/repos/acsone/account-financial-tools/forks","keys_url":"https://api.github.com/repos/acsone/account-financial-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/acsone/account-financial-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/acsone/account-financial-tools/teams","hooks_url":"https://api.github.com/repos/acsone/account-financial-tools/hooks","issue_events_url":"https://api.github.com/repos/acsone/account-financial-tools/issues/events{/number}","events_url":"https://api.github.com/repos/acsone/account-financial-tools/events","assignees_url":"https://api.github.com/repos/acsone/account-financial-tools/assignees{/user}","branches_url":"https://api.github.com/repos/acsone/account-financial-tools/branches{/branch}","tags_url":"https://api.github.com/repos/acsone/account-financial-tools/tags","blobs_url":"https://api.github.com/repos/acsone/account-financial-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/acsone/account-financial-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/acsone/account-financial-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/acsone/account-financial-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/acsone/account-financial-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/acsone/account-financial-tools/languages","stargazers_url":"https://api.github.com/repos/acsone/account-financial-tools/stargazers","contributors_url":"https://api.github.com/repos/acsone/account-financial-tools/contributors","subscribers_url":"https://api.github.com/repos/acsone/account-financial-tools/subscribers","subscription_url":"https://api.github.com/repos/acsone/account-financial-tools/subscription","commits_url":"https://api.github.com/repos/acsone/account-financial-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/acsone/account-financial-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/acsone/account-financial-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/acsone/account-financial-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/acsone/account-financial-tools/contents/{+path}","compare_url":"https://api.github.com/repos/acsone/account-financial-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/acsone/account-financial-tools/merges","archive_url":"https://api.github.com/repos/acsone/account-financial-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/acsone/account-financial-tools/downloads","issues_url":"https://api.github.com/repos/acsone/account-financial-tools/issues{/number}","pulls_url":"https://api.github.com/repos/acsone/account-financial-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/acsone/account-financial-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/acsone/account-financial-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/acsone/account-financial-tools/labels{/name}","releases_url":"https://api.github.com/repos/acsone/account-financial-tools/releases{/id}","created_at":"2014-07-18T15:07:43Z","updated_at":"2015-04-29T07:00:57Z","pushed_at":"2015-04-29T13:18:16Z","git_url":"git://github.com/acsone/account-financial-tools.git","ssh_url":"git@github.com:acsone/account-financial-tools.git","clone_url":"https://github.com/acsone/account-financial-tools.git","svn_url":"https://github.com/acsone/account-financial-tools","homepage":null,"size":4988,"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":"8.0"}},"base":{"label":"OCA:8.0","ref":"8.0","sha":"c80841e9149be8ac51554006204008f7d56ca884","user":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","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":20881761,"name":"account-financial-tools","full_name":"OCA/account-financial-tools","owner":{"login":"OCA","id":7600578,"avatar_url":"https://avatars.githubusercontent.com/u/7600578?v=3","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/account-financial-tools","description":"Odoo Accountant Financial Tools and Utils","fork":false,"url":"https://api.github.com/repos/OCA/account-financial-tools","forks_url":"https://api.github.com/repos/OCA/account-financial-tools/forks","keys_url":"https://api.github.com/repos/OCA/account-financial-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/account-financial-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/account-financial-tools/teams","hooks_url":"https://api.github.com/repos/OCA/account-financial-tools/hooks","issue_events_url":"https://api.github.com/repos/OCA/account-financial-tools/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/account-financial-tools/events","assignees_url":"https://api.github.com/repos/OCA/account-financial-tools/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/account-financial-tools/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/account-financial-tools/tags","blobs_url":"https://api.github.com/repos/OCA/account-financial-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/account-financial-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/account-financial-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/account-financial-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/account-financial-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/account-financial-tools/languages","stargazers_url":"https://api.github.com/repos/OCA/account-financial-tools/stargazers","contributors_url":"https://api.github.com/repos/OCA/account-financial-tools/contributors","subscribers_url":"https://api.github.com/repos/OCA/account-financial-tools/subscribers","subscription_url":"https://api.github.com/repos/OCA/account-financial-tools/subscription","commits_url":"https://api.github.com/repos/OCA/account-financial-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/account-financial-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/account-financial-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/account-financial-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/account-financial-tools/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/account-financial-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/account-financial-tools/merges","archive_url":"https://api.github.com/repos/OCA/account-financial-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/account-financial-tools/downloads","issues_url":"https://api.github.com/repos/OCA/account-financial-tools/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/account-financial-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/account-financial-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/account-financial-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/account-financial-tools/labels{/name}","releases_url":"https://api.github.com/repos/OCA/account-financial-tools/releases{/id}","created_at":"2014-06-16T10:58:57Z","updated_at":"2015-04-27T09:04:19Z","pushed_at":"2015-04-29T12:32:57Z","git_url":"git://github.com/OCA/account-financial-tools.git","ssh_url":"git@github.com:OCA/account-financial-tools.git","clone_url":"https://github.com/OCA/account-financial-tools.git","svn_url":"https://github.com/OCA/account-financial-tools","homepage":"","size":7212,"stargazers_count":21,"watchers_count":21,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":76,"mirror_url":null,"open_issues_count":52,"forks":76,"open_issues":52,"watchers":21,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/account-financial-tools/pulls/205"},"html":{"href":"https://github.com/OCA/account-financial-tools/pull/205"},"issue":{"href":"https://api.github.com/repos/OCA/account-financial-tools/issues/205"},"comments":{"href":"https://api.github.com/repos/OCA/account-financial-tools/issues/205/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/account-financial-tools/pulls/205/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/account-financial-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/account-financial-tools/pulls/205/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/account-financial-tools/statuses/0aff81c74ff953866c0a8208b5812ca2e0ecbaf0"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":18,"deletions":2,"changed_files":2}}