{"action":"created","comment":{"url":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls/comments/32513564","id":32513564,"diff_hunk":"@@ -148,6 +155,8 @@ def _generate_invoice_line(self, cr, uid, invoice_id, product, price,\n \r\n         res['name'] = product.name\r\n \r\n-        self.pool.get('account.invoice.line').create(\r\n-            cr, uid, inv_line_data, context=context)\r\n+        for contract_id in contract_ids:\r","path":"account_advanced_reconcile_compassion/wizard/reconcile_fund_wizard.py","position":53,"original_position":53,"commit_id":"c227f6c2fe7c3365aa6bf8ffac236e8885925ad0","original_commit_id":"c227f6c2fe7c3365aa6bf8ffac236e8885925ad0","user":{"login":"CSester","id":7600885,"avatar_url":"https://avatars.githubusercontent.com/u/7600885?v=3","gravatar_id":"","url":"https://api.github.com/users/CSester","html_url":"https://github.com/CSester","followers_url":"https://api.github.com/users/CSester/followers","following_url":"https://api.github.com/users/CSester/following{/other_user}","gists_url":"https://api.github.com/users/CSester/gists{/gist_id}","starred_url":"https://api.github.com/users/CSester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSester/subscriptions","organizations_url":"https://api.github.com/users/CSester/orgs","repos_url":"https://api.github.com/users/CSester/repos","events_url":"https://api.github.com/users/CSester/events{/privacy}","received_events_url":"https://api.github.com/users/CSester/received_events","type":"User","site_admin":false},"body":"The one about dividing by number of contracts","created_at":"2015-06-16T11:59:03Z","updated_at":"2015-06-16T11:59:03Z","html_url":"https://github.com/CompassionCH/compassion-accounting/pull/9#discussion_r32513564","pull_request_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls/comments/32513564"},"html":{"href":"https://github.com/CompassionCH/compassion-accounting/pull/9#discussion_r32513564"},"pull_request":{"href":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls/9","id":37132705,"html_url":"https://github.com/CompassionCH/compassion-accounting/pull/9","diff_url":"https://github.com/CompassionCH/compassion-accounting/pull/9.diff","patch_url":"https://github.com/CompassionCH/compassion-accounting/pull/9.patch","issue_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/issues/9","number":9,"state":"open","locked":false,"title":"1.5 review","user":{"login":"ecino","id":8435180,"avatar_url":"https://avatars.githubusercontent.com/u/8435180?v=3","gravatar_id":"","url":"https://api.github.com/users/ecino","html_url":"https://github.com/ecino","followers_url":"https://api.github.com/users/ecino/followers","following_url":"https://api.github.com/users/ecino/following{/other_user}","gists_url":"https://api.github.com/users/ecino/gists{/gist_id}","starred_url":"https://api.github.com/users/ecino/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ecino/subscriptions","organizations_url":"https://api.github.com/users/ecino/orgs","repos_url":"https://api.github.com/users/ecino/repos","events_url":"https://api.github.com/users/ecino/events{/privacy}","received_events_url":"https://api.github.com/users/ecino/received_events","type":"User","site_admin":false},"body":"# 1.5 Improvements\r\n\r\nContains new features added after split of contracts.\r\n\r\n## advanced_reconcile\r\n\r\n- Change attribution wizard : utility for directly modifying a paid\r\n  invoice which will unreconcile / cancel / modify / validate / pay\r\n  the selected invoices / payments.\r\n- Add a comment on splitted payments move lines\r\n\r\n\r\n## analytic_attribution\r\n\r\nInstead of using analytic distributions, we will now use attributions for\r\ncreating custom rules that will dispatch analytic lines into several analytic\r\naccounts. We therefore won't need distributions anymore and need only to provide\r\nan analytic account for invoices / move lines / ...\r\n\r\n## completion\r\n\r\n- New rules for LSV / DD allowing to look into cancelled and paid invoices.\r\n- Various bug fixes and improvements\r\n\r\n## recurring_contract\r\n\r\n- Change of fields which were ambiguous by their name and types (advance_billing, frequency, ...)\r\n- Be more generic\r\n- Change methods for being able to add methods called when contracts/groups are modified","created_at":"2015-06-08T08:52:42Z","updated_at":"2015-06-16T11:59:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a7ea9bea6511c29297d14b4720781b02c6dc3d83","assignee":{"login":"CSester","id":7600885,"avatar_url":"https://avatars.githubusercontent.com/u/7600885?v=3","gravatar_id":"","url":"https://api.github.com/users/CSester","html_url":"https://github.com/CSester","followers_url":"https://api.github.com/users/CSester/followers","following_url":"https://api.github.com/users/CSester/following{/other_user}","gists_url":"https://api.github.com/users/CSester/gists{/gist_id}","starred_url":"https://api.github.com/users/CSester/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CSester/subscriptions","organizations_url":"https://api.github.com/users/CSester/orgs","repos_url":"https://api.github.com/users/CSester/repos","events_url":"https://api.github.com/users/CSester/events{/privacy}","received_events_url":"https://api.github.com/users/CSester/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls/9/commits","review_comments_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls/9/comments","review_comment_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/issues/9/comments","statuses_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/statuses/c227f6c2fe7c3365aa6bf8ffac236e8885925ad0","head":{"label":"CompassionCH:1.5-review","ref":"1.5-review","sha":"c227f6c2fe7c3365aa6bf8ffac236e8885925ad0","user":{"login":"CompassionCH","id":8435213,"avatar_url":"https://avatars.githubusercontent.com/u/8435213?v=3","gravatar_id":"","url":"https://api.github.com/users/CompassionCH","html_url":"https://github.com/CompassionCH","followers_url":"https://api.github.com/users/CompassionCH/followers","following_url":"https://api.github.com/users/CompassionCH/following{/other_user}","gists_url":"https://api.github.com/users/CompassionCH/gists{/gist_id}","starred_url":"https://api.github.com/users/CompassionCH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CompassionCH/subscriptions","organizations_url":"https://api.github.com/users/CompassionCH/orgs","repos_url":"https://api.github.com/users/CompassionCH/repos","events_url":"https://api.github.com/users/CompassionCH/events{/privacy}","received_events_url":"https://api.github.com/users/CompassionCH/received_events","type":"Organization","site_admin":false},"repo":{"id":31903030,"name":"compassion-accounting","full_name":"CompassionCH/compassion-accounting","owner":{"login":"CompassionCH","id":8435213,"avatar_url":"https://avatars.githubusercontent.com/u/8435213?v=3","gravatar_id":"","url":"https://api.github.com/users/CompassionCH","html_url":"https://github.com/CompassionCH","followers_url":"https://api.github.com/users/CompassionCH/followers","following_url":"https://api.github.com/users/CompassionCH/following{/other_user}","gists_url":"https://api.github.com/users/CompassionCH/gists{/gist_id}","starred_url":"https://api.github.com/users/CompassionCH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CompassionCH/subscriptions","organizations_url":"https://api.github.com/users/CompassionCH/orgs","repos_url":"https://api.github.com/users/CompassionCH/repos","events_url":"https://api.github.com/users/CompassionCH/events{/privacy}","received_events_url":"https://api.github.com/users/CompassionCH/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CompassionCH/compassion-accounting","description":"Compassion Accounting Modules","fork":false,"url":"https://api.github.com/repos/CompassionCH/compassion-accounting","forks_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/forks","keys_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/teams","hooks_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/hooks","issue_events_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/issues/events{/number}","events_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/events","assignees_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/assignees{/user}","branches_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/branches{/branch}","tags_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/tags","blobs_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/git/refs{/sha}","trees_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/statuses/{sha}","languages_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/languages","stargazers_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/stargazers","contributors_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/contributors","subscribers_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/subscribers","subscription_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/subscription","commits_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/commits{/sha}","git_commits_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/git/commits{/sha}","comments_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/comments{/number}","issue_comment_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/issues/comments{/number}","contents_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/contents/{+path}","compare_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/merges","archive_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/downloads","issues_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/issues{/number}","pulls_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls{/number}","milestones_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/milestones{/number}","notifications_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/labels{/name}","releases_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/releases{/id}","created_at":"2015-03-09T14:28:08Z","updated_at":"2015-04-27T09:59:27Z","pushed_at":"2015-06-16T11:32:12Z","git_url":"git://github.com/CompassionCH/compassion-accounting.git","ssh_url":"git@github.com:CompassionCH/compassion-accounting.git","clone_url":"https://github.com/CompassionCH/compassion-accounting.git","svn_url":"https://github.com/CompassionCH/compassion-accounting","homepage":null,"size":1694,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"CompassionCH:review","ref":"review","sha":"48483c320f8f2cc8c99acb6f92e3cf47887c3f6d","user":{"login":"CompassionCH","id":8435213,"avatar_url":"https://avatars.githubusercontent.com/u/8435213?v=3","gravatar_id":"","url":"https://api.github.com/users/CompassionCH","html_url":"https://github.com/CompassionCH","followers_url":"https://api.github.com/users/CompassionCH/followers","following_url":"https://api.github.com/users/CompassionCH/following{/other_user}","gists_url":"https://api.github.com/users/CompassionCH/gists{/gist_id}","starred_url":"https://api.github.com/users/CompassionCH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CompassionCH/subscriptions","organizations_url":"https://api.github.com/users/CompassionCH/orgs","repos_url":"https://api.github.com/users/CompassionCH/repos","events_url":"https://api.github.com/users/CompassionCH/events{/privacy}","received_events_url":"https://api.github.com/users/CompassionCH/received_events","type":"Organization","site_admin":false},"repo":{"id":31903030,"name":"compassion-accounting","full_name":"CompassionCH/compassion-accounting","owner":{"login":"CompassionCH","id":8435213,"avatar_url":"https://avatars.githubusercontent.com/u/8435213?v=3","gravatar_id":"","url":"https://api.github.com/users/CompassionCH","html_url":"https://github.com/CompassionCH","followers_url":"https://api.github.com/users/CompassionCH/followers","following_url":"https://api.github.com/users/CompassionCH/following{/other_user}","gists_url":"https://api.github.com/users/CompassionCH/gists{/gist_id}","starred_url":"https://api.github.com/users/CompassionCH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CompassionCH/subscriptions","organizations_url":"https://api.github.com/users/CompassionCH/orgs","repos_url":"https://api.github.com/users/CompassionCH/repos","events_url":"https://api.github.com/users/CompassionCH/events{/privacy}","received_events_url":"https://api.github.com/users/CompassionCH/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CompassionCH/compassion-accounting","description":"Compassion Accounting Modules","fork":false,"url":"https://api.github.com/repos/CompassionCH/compassion-accounting","forks_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/forks","keys_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/teams","hooks_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/hooks","issue_events_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/issues/events{/number}","events_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/events","assignees_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/assignees{/user}","branches_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/branches{/branch}","tags_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/tags","blobs_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/git/refs{/sha}","trees_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/statuses/{sha}","languages_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/languages","stargazers_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/stargazers","contributors_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/contributors","subscribers_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/subscribers","subscription_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/subscription","commits_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/commits{/sha}","git_commits_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/git/commits{/sha}","comments_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/comments{/number}","issue_comment_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/issues/comments{/number}","contents_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/contents/{+path}","compare_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/merges","archive_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/downloads","issues_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/issues{/number}","pulls_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls{/number}","milestones_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/milestones{/number}","notifications_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/labels{/name}","releases_url":"https://api.github.com/repos/CompassionCH/compassion-accounting/releases{/id}","created_at":"2015-03-09T14:28:08Z","updated_at":"2015-04-27T09:59:27Z","pushed_at":"2015-06-16T11:32:12Z","git_url":"git://github.com/CompassionCH/compassion-accounting.git","ssh_url":"git@github.com:CompassionCH/compassion-accounting.git","clone_url":"https://github.com/CompassionCH/compassion-accounting.git","svn_url":"https://github.com/CompassionCH/compassion-accounting","homepage":null,"size":1694,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":3,"forks":4,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls/9"},"html":{"href":"https://github.com/CompassionCH/compassion-accounting/pull/9"},"issue":{"href":"https://api.github.com/repos/CompassionCH/compassion-accounting/issues/9"},"comments":{"href":"https://api.github.com/repos/CompassionCH/compassion-accounting/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CompassionCH/compassion-accounting/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/CompassionCH/compassion-accounting/statuses/c227f6c2fe7c3365aa6bf8ffac236e8885925ad0"}}}}