{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/account-analytic/pulls/comments/62669329","id":62669329,"diff_hunk":"@@ -148,8 +148,11 @@ def test_never_no_analytic(self):\n \n     def test_never_with_analytic(self):\n         self._set_analytic_policy('never')\n-        with self.assertRaises(orm.except_orm):\n-            self._create_move(with_analytic=True, with_analytic_plan=False)\n+        # with self.assertRaises(orm.except_orm):\n+        #     self._create_move(with_analytic=True, with_analytic_plan=False)","path":"account_analytic_plan_required/tests/test_account_analytic_plan_required.py","position":7,"original_position":7,"commit_id":"a9a0a6fbd96abb7f802e266db296ff79aa3a02b9","original_commit_id":"a9a0a6fbd96abb7f802e266db296ff79aa3a02b9","user":{"login":"yvaucher","id":4158438,"avatar_url":"https://avatars.githubusercontent.com/u/4158438?v=3","gravatar_id":"","url":"https://api.github.com/users/yvaucher","html_url":"https://github.com/yvaucher","followers_url":"https://api.github.com/users/yvaucher/followers","following_url":"https://api.github.com/users/yvaucher/following{/other_user}","gists_url":"https://api.github.com/users/yvaucher/gists{/gist_id}","starred_url":"https://api.github.com/users/yvaucher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yvaucher/subscriptions","organizations_url":"https://api.github.com/users/yvaucher/orgs","repos_url":"https://api.github.com/users/yvaucher/repos","events_url":"https://api.github.com/users/yvaucher/events{/privacy}","received_events_url":"https://api.github.com/users/yvaucher/received_events","type":"User","site_admin":false},"body":"Why is this commented ?","created_at":"2016-05-10T13:20:44Z","updated_at":"2016-05-10T13:20:44Z","html_url":"https://github.com/OCA/account-analytic/pull/26#discussion_r62669329","pull_request_url":"https://api.github.com/repos/OCA/account-analytic/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/OCA/account-analytic/pulls/comments/62669329"},"html":{"href":"https://github.com/OCA/account-analytic/pull/26#discussion_r62669329"},"pull_request":{"href":"https://api.github.com/repos/OCA/account-analytic/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/account-analytic/pulls/26","id":30463789,"html_url":"https://github.com/OCA/account-analytic/pull/26","diff_url":"https://github.com/OCA/account-analytic/pull/26.diff","patch_url":"https://github.com/OCA/account-analytic/pull/26.patch","issue_url":"https://api.github.com/repos/OCA/account-analytic/issues/26","number":26,"state":"open","locked":false,"title":"8.0 update account_analytic_required","user":{"login":"luc-demeyer","id":7706945,"avatar_url":"https://avatars.githubusercontent.com/u/7706945?v=3","gravatar_id":"","url":"https://api.github.com/users/luc-demeyer","html_url":"https://github.com/luc-demeyer","followers_url":"https://api.github.com/users/luc-demeyer/followers","following_url":"https://api.github.com/users/luc-demeyer/following{/other_user}","gists_url":"https://api.github.com/users/luc-demeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/luc-demeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luc-demeyer/subscriptions","organizations_url":"https://api.github.com/users/luc-demeyer/orgs","repos_url":"https://api.github.com/users/luc-demeyer/repos","events_url":"https://api.github.com/users/luc-demeyer/events{/privacy}","received_events_url":"https://api.github.com/users/luc-demeyer/received_events","type":"User","site_admin":false},"body":"This PR makes the analytic account a mandatory field on the invoice line when the analytic policy for the selected account is equal to 'always'.","created_at":"2015-03-04T13:14:46Z","updated_at":"2016-05-10T13:20:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a2e76dc5ad286c939213c11615aeebe9e8a979aa","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/account-analytic/pulls/26/commits","review_comments_url":"https://api.github.com/repos/OCA/account-analytic/pulls/26/comments","review_comment_url":"https://api.github.com/repos/OCA/account-analytic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/account-analytic/issues/26/comments","statuses_url":"https://api.github.com/repos/OCA/account-analytic/statuses/a9a0a6fbd96abb7f802e266db296ff79aa3a02b9","head":{"label":"Noviat:80-update-account_analytic_required","ref":"80-update-account_analytic_required","sha":"a9a0a6fbd96abb7f802e266db296ff79aa3a02b9","user":{"login":"Noviat","id":10273829,"avatar_url":"https://avatars.githubusercontent.com/u/10273829?v=3","gravatar_id":"","url":"https://api.github.com/users/Noviat","html_url":"https://github.com/Noviat","followers_url":"https://api.github.com/users/Noviat/followers","following_url":"https://api.github.com/users/Noviat/following{/other_user}","gists_url":"https://api.github.com/users/Noviat/gists{/gist_id}","starred_url":"https://api.github.com/users/Noviat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Noviat/subscriptions","organizations_url":"https://api.github.com/users/Noviat/orgs","repos_url":"https://api.github.com/users/Noviat/repos","events_url":"https://api.github.com/users/Noviat/events{/privacy}","received_events_url":"https://api.github.com/users/Noviat/received_events","type":"Organization","site_admin":false},"repo":{"id":31657425,"name":"account-analytic","full_name":"Noviat/account-analytic","owner":{"login":"Noviat","id":10273829,"avatar_url":"https://avatars.githubusercontent.com/u/10273829?v=3","gravatar_id":"","url":"https://api.github.com/users/Noviat","html_url":"https://github.com/Noviat","followers_url":"https://api.github.com/users/Noviat/followers","following_url":"https://api.github.com/users/Noviat/following{/other_user}","gists_url":"https://api.github.com/users/Noviat/gists{/gist_id}","starred_url":"https://api.github.com/users/Noviat/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Noviat/subscriptions","organizations_url":"https://api.github.com/users/Noviat/orgs","repos_url":"https://api.github.com/users/Noviat/repos","events_url":"https://api.github.com/users/Noviat/events{/privacy}","received_events_url":"https://api.github.com/users/Noviat/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Noviat/account-analytic","description":"","fork":true,"url":"https://api.github.com/repos/Noviat/account-analytic","forks_url":"https://api.github.com/repos/Noviat/account-analytic/forks","keys_url":"https://api.github.com/repos/Noviat/account-analytic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Noviat/account-analytic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Noviat/account-analytic/teams","hooks_url":"https://api.github.com/repos/Noviat/account-analytic/hooks","issue_events_url":"https://api.github.com/repos/Noviat/account-analytic/issues/events{/number}","events_url":"https://api.github.com/repos/Noviat/account-analytic/events","assignees_url":"https://api.github.com/repos/Noviat/account-analytic/assignees{/user}","branches_url":"https://api.github.com/repos/Noviat/account-analytic/branches{/branch}","tags_url":"https://api.github.com/repos/Noviat/account-analytic/tags","blobs_url":"https://api.github.com/repos/Noviat/account-analytic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Noviat/account-analytic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Noviat/account-analytic/git/refs{/sha}","trees_url":"https://api.github.com/repos/Noviat/account-analytic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Noviat/account-analytic/statuses/{sha}","languages_url":"https://api.github.com/repos/Noviat/account-analytic/languages","stargazers_url":"https://api.github.com/repos/Noviat/account-analytic/stargazers","contributors_url":"https://api.github.com/repos/Noviat/account-analytic/contributors","subscribers_url":"https://api.github.com/repos/Noviat/account-analytic/subscribers","subscription_url":"https://api.github.com/repos/Noviat/account-analytic/subscription","commits_url":"https://api.github.com/repos/Noviat/account-analytic/commits{/sha}","git_commits_url":"https://api.github.com/repos/Noviat/account-analytic/git/commits{/sha}","comments_url":"https://api.github.com/repos/Noviat/account-analytic/comments{/number}","issue_comment_url":"https://api.github.com/repos/Noviat/account-analytic/issues/comments{/number}","contents_url":"https://api.github.com/repos/Noviat/account-analytic/contents/{+path}","compare_url":"https://api.github.com/repos/Noviat/account-analytic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Noviat/account-analytic/merges","archive_url":"https://api.github.com/repos/Noviat/account-analytic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Noviat/account-analytic/downloads","issues_url":"https://api.github.com/repos/Noviat/account-analytic/issues{/number}","pulls_url":"https://api.github.com/repos/Noviat/account-analytic/pulls{/number}","milestones_url":"https://api.github.com/repos/Noviat/account-analytic/milestones{/number}","notifications_url":"https://api.github.com/repos/Noviat/account-analytic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Noviat/account-analytic/labels{/name}","releases_url":"https://api.github.com/repos/Noviat/account-analytic/releases{/id}","deployments_url":"https://api.github.com/repos/Noviat/account-analytic/deployments","created_at":"2015-03-04T13:06:24Z","updated_at":"2015-03-04T13:06:25Z","pushed_at":"2015-12-22T21:04:51Z","git_url":"git://github.com/Noviat/account-analytic.git","ssh_url":"git@github.com:Noviat/account-analytic.git","clone_url":"https://github.com/Noviat/account-analytic.git","svn_url":"https://github.com/Noviat/account-analytic","homepage":null,"size":374,"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":"OCA:8.0","ref":"8.0","sha":"829333e15dd6e84258597f1e47f0e8ef0387303d","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":20881668,"name":"account-analytic","full_name":"OCA/account-analytic","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-analytic","description":"Odoo Account Analytic Related Addons","fork":false,"url":"https://api.github.com/repos/OCA/account-analytic","forks_url":"https://api.github.com/repos/OCA/account-analytic/forks","keys_url":"https://api.github.com/repos/OCA/account-analytic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/account-analytic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/account-analytic/teams","hooks_url":"https://api.github.com/repos/OCA/account-analytic/hooks","issue_events_url":"https://api.github.com/repos/OCA/account-analytic/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/account-analytic/events","assignees_url":"https://api.github.com/repos/OCA/account-analytic/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/account-analytic/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/account-analytic/tags","blobs_url":"https://api.github.com/repos/OCA/account-analytic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/account-analytic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/account-analytic/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/account-analytic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/account-analytic/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/account-analytic/languages","stargazers_url":"https://api.github.com/repos/OCA/account-analytic/stargazers","contributors_url":"https://api.github.com/repos/OCA/account-analytic/contributors","subscribers_url":"https://api.github.com/repos/OCA/account-analytic/subscribers","subscription_url":"https://api.github.com/repos/OCA/account-analytic/subscription","commits_url":"https://api.github.com/repos/OCA/account-analytic/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/account-analytic/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/account-analytic/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/account-analytic/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/account-analytic/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/account-analytic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/account-analytic/merges","archive_url":"https://api.github.com/repos/OCA/account-analytic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/account-analytic/downloads","issues_url":"https://api.github.com/repos/OCA/account-analytic/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/account-analytic/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/account-analytic/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/account-analytic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/account-analytic/labels{/name}","releases_url":"https://api.github.com/repos/OCA/account-analytic/releases{/id}","deployments_url":"https://api.github.com/repos/OCA/account-analytic/deployments","created_at":"2014-06-16T10:55:18Z","updated_at":"2016-01-27T14:38:14Z","pushed_at":"2016-04-22T09:30:11Z","git_url":"git://github.com/OCA/account-analytic.git","ssh_url":"git@github.com:OCA/account-analytic.git","clone_url":"https://github.com/OCA/account-analytic.git","svn_url":"https://github.com/OCA/account-analytic","homepage":"","size":503,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":43,"mirror_url":null,"open_issues_count":7,"forks":43,"open_issues":7,"watchers":6,"default_branch":"9.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/account-analytic/pulls/26"},"html":{"href":"https://github.com/OCA/account-analytic/pull/26"},"issue":{"href":"https://api.github.com/repos/OCA/account-analytic/issues/26"},"comments":{"href":"https://api.github.com/repos/OCA/account-analytic/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/account-analytic/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/account-analytic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/account-analytic/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/account-analytic/statuses/a9a0a6fbd96abb7f802e266db296ff79aa3a02b9"}}}}