{"action":"opened","number":36,"pull_request":{"url":"https://api.github.com/repos/OCA/commission/pulls/36","id":48922377,"html_url":"https://github.com/OCA/commission/pull/36","diff_url":"https://github.com/OCA/commission/pull/36.diff","patch_url":"https://github.com/OCA/commission/pull/36.patch","issue_url":"https://api.github.com/repos/OCA/commission/issues/36","number":36,"state":"open","locked":false,"title":"[FIX] \"sale\" journal type on making agent invoice","user":{"login":"ivanccrr","id":15348416,"avatar_url":"https://avatars.githubusercontent.com/u/15348416?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanccrr","html_url":"https://github.com/ivanccrr","followers_url":"https://api.github.com/users/ivanccrr/followers","following_url":"https://api.github.com/users/ivanccrr/following{/other_user}","gists_url":"https://api.github.com/users/ivanccrr/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanccrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanccrr/subscriptions","organizations_url":"https://api.github.com/users/ivanccrr/orgs","repos_url":"https://api.github.com/users/ivanccrr/repos","events_url":"https://api.github.com/users/ivanccrr/events{/privacy}","received_events_url":"https://api.github.com/users/ivanccrr/received_events","type":"User","site_admin":false},"body":"On generate agent invoice you can only select journal of type \"sale\". This can cause the numbers of sales invoices not correlated.\r\nIMHO, agent invoices must be of type purchase and this solves it, allowing to select journals of type purchase.","created_at":"2015-10-27T19:46:33Z","updated_at":"2015-10-27T19:46:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/commission/pulls/36/commits","review_comments_url":"https://api.github.com/repos/OCA/commission/pulls/36/comments","review_comment_url":"https://api.github.com/repos/OCA/commission/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/commission/issues/36/comments","statuses_url":"https://api.github.com/repos/OCA/commission/statuses/b3f1fab59624a5ae132ca60a01911078e1ebd52c","head":{"label":"ivanccrr:8.0","ref":"8.0","sha":"b3f1fab59624a5ae132ca60a01911078e1ebd52c","user":{"login":"ivanccrr","id":15348416,"avatar_url":"https://avatars.githubusercontent.com/u/15348416?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanccrr","html_url":"https://github.com/ivanccrr","followers_url":"https://api.github.com/users/ivanccrr/followers","following_url":"https://api.github.com/users/ivanccrr/following{/other_user}","gists_url":"https://api.github.com/users/ivanccrr/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanccrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanccrr/subscriptions","organizations_url":"https://api.github.com/users/ivanccrr/orgs","repos_url":"https://api.github.com/users/ivanccrr/repos","events_url":"https://api.github.com/users/ivanccrr/events{/privacy}","received_events_url":"https://api.github.com/users/ivanccrr/received_events","type":"User","site_admin":false},"repo":{"id":45064806,"name":"commission","full_name":"ivanccrr/commission","owner":{"login":"ivanccrr","id":15348416,"avatar_url":"https://avatars.githubusercontent.com/u/15348416?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanccrr","html_url":"https://github.com/ivanccrr","followers_url":"https://api.github.com/users/ivanccrr/followers","following_url":"https://api.github.com/users/ivanccrr/following{/other_user}","gists_url":"https://api.github.com/users/ivanccrr/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanccrr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanccrr/subscriptions","organizations_url":"https://api.github.com/users/ivanccrr/orgs","repos_url":"https://api.github.com/users/ivanccrr/repos","events_url":"https://api.github.com/users/ivanccrr/events{/privacy}","received_events_url":"https://api.github.com/users/ivanccrr/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ivanccrr/commission","description":"Odoo Commission Management","fork":true,"url":"https://api.github.com/repos/ivanccrr/commission","forks_url":"https://api.github.com/repos/ivanccrr/commission/forks","keys_url":"https://api.github.com/repos/ivanccrr/commission/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivanccrr/commission/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivanccrr/commission/teams","hooks_url":"https://api.github.com/repos/ivanccrr/commission/hooks","issue_events_url":"https://api.github.com/repos/ivanccrr/commission/issues/events{/number}","events_url":"https://api.github.com/repos/ivanccrr/commission/events","assignees_url":"https://api.github.com/repos/ivanccrr/commission/assignees{/user}","branches_url":"https://api.github.com/repos/ivanccrr/commission/branches{/branch}","tags_url":"https://api.github.com/repos/ivanccrr/commission/tags","blobs_url":"https://api.github.com/repos/ivanccrr/commission/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivanccrr/commission/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivanccrr/commission/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivanccrr/commission/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivanccrr/commission/statuses/{sha}","languages_url":"https://api.github.com/repos/ivanccrr/commission/languages","stargazers_url":"https://api.github.com/repos/ivanccrr/commission/stargazers","contributors_url":"https://api.github.com/repos/ivanccrr/commission/contributors","subscribers_url":"https://api.github.com/repos/ivanccrr/commission/subscribers","subscription_url":"https://api.github.com/repos/ivanccrr/commission/subscription","commits_url":"https://api.github.com/repos/ivanccrr/commission/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivanccrr/commission/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivanccrr/commission/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivanccrr/commission/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivanccrr/commission/contents/{+path}","compare_url":"https://api.github.com/repos/ivanccrr/commission/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivanccrr/commission/merges","archive_url":"https://api.github.com/repos/ivanccrr/commission/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivanccrr/commission/downloads","issues_url":"https://api.github.com/repos/ivanccrr/commission/issues{/number}","pulls_url":"https://api.github.com/repos/ivanccrr/commission/pulls{/number}","milestones_url":"https://api.github.com/repos/ivanccrr/commission/milestones{/number}","notifications_url":"https://api.github.com/repos/ivanccrr/commission/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivanccrr/commission/labels{/name}","releases_url":"https://api.github.com/repos/ivanccrr/commission/releases{/id}","created_at":"2015-10-27T19:29:25Z","updated_at":"2015-10-27T19:29:26Z","pushed_at":"2015-10-27T19:45:40Z","git_url":"git://github.com/ivanccrr/commission.git","ssh_url":"git@github.com:ivanccrr/commission.git","clone_url":"https://github.com/ivanccrr/commission.git","svn_url":"https://github.com/ivanccrr/commission","homepage":"","size":914,"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":"9.0"}},"base":{"label":"OCA:8.0","ref":"8.0","sha":"af996efca3191b72fb07e329d86b0f5da89b121e","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":20922238,"name":"commission","full_name":"OCA/commission","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/commission","description":"Odoo Commission Management","fork":false,"url":"https://api.github.com/repos/OCA/commission","forks_url":"https://api.github.com/repos/OCA/commission/forks","keys_url":"https://api.github.com/repos/OCA/commission/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/commission/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/commission/teams","hooks_url":"https://api.github.com/repos/OCA/commission/hooks","issue_events_url":"https://api.github.com/repos/OCA/commission/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/commission/events","assignees_url":"https://api.github.com/repos/OCA/commission/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/commission/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/commission/tags","blobs_url":"https://api.github.com/repos/OCA/commission/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/commission/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/commission/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/commission/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/commission/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/commission/languages","stargazers_url":"https://api.github.com/repos/OCA/commission/stargazers","contributors_url":"https://api.github.com/repos/OCA/commission/contributors","subscribers_url":"https://api.github.com/repos/OCA/commission/subscribers","subscription_url":"https://api.github.com/repos/OCA/commission/subscription","commits_url":"https://api.github.com/repos/OCA/commission/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/commission/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/commission/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/commission/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/commission/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/commission/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/commission/merges","archive_url":"https://api.github.com/repos/OCA/commission/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/commission/downloads","issues_url":"https://api.github.com/repos/OCA/commission/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/commission/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/commission/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/commission/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/commission/labels{/name}","releases_url":"https://api.github.com/repos/OCA/commission/releases{/id}","created_at":"2014-06-17T12:22:39Z","updated_at":"2015-06-30T07:02:18Z","pushed_at":"2015-10-26T17:22:54Z","git_url":"git://github.com/OCA/commission.git","ssh_url":"git@github.com:OCA/commission.git","clone_url":"https://github.com/OCA/commission.git","svn_url":"https://github.com/OCA/commission","homepage":"","size":914,"stargazers_count":10,"watchers_count":10,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":17,"forks":41,"open_issues":17,"watchers":10,"default_branch":"9.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/commission/pulls/36"},"html":{"href":"https://github.com/OCA/commission/pull/36"},"issue":{"href":"https://api.github.com/repos/OCA/commission/issues/36"},"comments":{"href":"https://api.github.com/repos/OCA/commission/issues/36/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/commission/pulls/36/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/commission/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/commission/pulls/36/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/commission/statuses/b3f1fab59624a5ae132ca60a01911078e1ebd52c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":2,"deletions":2,"changed_files":1}}