{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/purchase-workflow/pulls/comments/208924444","pull_request_review_id":144834051,"id":208924444,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwODkyNDQ0NA==","diff_hunk":"@@ -31,6 +31,9 @@ def _assign(self):\n         if not res:\n             rule_id = self._find_suitable_rule()\n             if rule_id:\n-                self.write({'rule_id': rule_id})","path":"subcontracted_service/models/procurement.py","position":4,"original_position":4,"commit_id":"cfa46c0469a1b4407f0ae9510481aca3c9db297d","original_commit_id":"cfa46c0469a1b4407f0ae9510481aca3c9db297d","user":{"login":"hveficent","id":32061121,"node_id":"MDQ6VXNlcjMyMDYxMTIx","avatar_url":"https://avatars2.githubusercontent.com/u/32061121?v=4","gravatar_id":"","url":"https://api.github.com/users/hveficent","html_url":"https://github.com/hveficent","followers_url":"https://api.github.com/users/hveficent/followers","following_url":"https://api.github.com/users/hveficent/following{/other_user}","gists_url":"https://api.github.com/users/hveficent/gists{/gist_id}","starred_url":"https://api.github.com/users/hveficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hveficent/subscriptions","organizations_url":"https://api.github.com/users/hveficent/orgs","repos_url":"https://api.github.com/users/hveficent/repos","events_url":"https://api.github.com/users/hveficent/events{/privacy}","received_events_url":"https://api.github.com/users/hveficent/received_events","type":"User","site_admin":false},"body":"change to self.write({'rule_id': rule_id.id})","created_at":"2018-08-09T13:17:19Z","updated_at":"2018-08-09T13:18:23Z","html_url":"https://github.com/OCA/purchase-workflow/pull/574#discussion_r208924444","pull_request_url":"https://api.github.com/repos/OCA/purchase-workflow/pulls/574","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/OCA/purchase-workflow/pulls/comments/208924444"},"html":{"href":"https://github.com/OCA/purchase-workflow/pull/574#discussion_r208924444"},"pull_request":{"href":"https://api.github.com/repos/OCA/purchase-workflow/pulls/574"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/purchase-workflow/pulls/574","id":206960551,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA2OTYwNTUx","html_url":"https://github.com/OCA/purchase-workflow/pull/574","diff_url":"https://github.com/OCA/purchase-workflow/pull/574.diff","patch_url":"https://github.com/OCA/purchase-workflow/pull/574.patch","issue_url":"https://api.github.com/repos/OCA/purchase-workflow/issues/574","number":574,"state":"open","locked":false,"title":"[10.0][FIX] Subcontracted service: can't adapt type 'procurement.rule'","user":{"login":"jvpascual","id":26119950,"node_id":"MDQ6VXNlcjI2MTE5OTUw","avatar_url":"https://avatars2.githubusercontent.com/u/26119950?v=4","gravatar_id":"","url":"https://api.github.com/users/jvpascual","html_url":"https://github.com/jvpascual","followers_url":"https://api.github.com/users/jvpascual/followers","following_url":"https://api.github.com/users/jvpascual/following{/other_user}","gists_url":"https://api.github.com/users/jvpascual/gists{/gist_id}","starred_url":"https://api.github.com/users/jvpascual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvpascual/subscriptions","organizations_url":"https://api.github.com/users/jvpascual/orgs","repos_url":"https://api.github.com/users/jvpascual/repos","events_url":"https://api.github.com/users/jvpascual/events{/privacy}","received_events_url":"https://api.github.com/users/jvpascual/received_events","type":"User","site_admin":false},"body":"when a sale order is confirmed, \r\nProgrammingError: can't adapt type 'procurement.rule'","created_at":"2018-08-08T10:24:09Z","updated_at":"2018-08-09T13:18:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"affb47daca0514893a1f7c0069e0c7791121e7aa","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OCA/purchase-workflow/pulls/574/commits","review_comments_url":"https://api.github.com/repos/OCA/purchase-workflow/pulls/574/comments","review_comment_url":"https://api.github.com/repos/OCA/purchase-workflow/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/purchase-workflow/issues/574/comments","statuses_url":"https://api.github.com/repos/OCA/purchase-workflow/statuses/cfa46c0469a1b4407f0ae9510481aca3c9db297d","head":{"label":"jvpascual:10.0","ref":"10.0","sha":"cfa46c0469a1b4407f0ae9510481aca3c9db297d","user":{"login":"jvpascual","id":26119950,"node_id":"MDQ6VXNlcjI2MTE5OTUw","avatar_url":"https://avatars2.githubusercontent.com/u/26119950?v=4","gravatar_id":"","url":"https://api.github.com/users/jvpascual","html_url":"https://github.com/jvpascual","followers_url":"https://api.github.com/users/jvpascual/followers","following_url":"https://api.github.com/users/jvpascual/following{/other_user}","gists_url":"https://api.github.com/users/jvpascual/gists{/gist_id}","starred_url":"https://api.github.com/users/jvpascual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvpascual/subscriptions","organizations_url":"https://api.github.com/users/jvpascual/orgs","repos_url":"https://api.github.com/users/jvpascual/repos","events_url":"https://api.github.com/users/jvpascual/events{/privacy}","received_events_url":"https://api.github.com/users/jvpascual/received_events","type":"User","site_admin":false},"repo":{"id":143995030,"node_id":"MDEwOlJlcG9zaXRvcnkxNDM5OTUwMzA=","name":"purchase-workflow","full_name":"jvpascual/purchase-workflow","owner":{"login":"jvpascual","id":26119950,"node_id":"MDQ6VXNlcjI2MTE5OTUw","avatar_url":"https://avatars2.githubusercontent.com/u/26119950?v=4","gravatar_id":"","url":"https://api.github.com/users/jvpascual","html_url":"https://github.com/jvpascual","followers_url":"https://api.github.com/users/jvpascual/followers","following_url":"https://api.github.com/users/jvpascual/following{/other_user}","gists_url":"https://api.github.com/users/jvpascual/gists{/gist_id}","starred_url":"https://api.github.com/users/jvpascual/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jvpascual/subscriptions","organizations_url":"https://api.github.com/users/jvpascual/orgs","repos_url":"https://api.github.com/users/jvpascual/repos","events_url":"https://api.github.com/users/jvpascual/events{/privacy}","received_events_url":"https://api.github.com/users/jvpascual/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jvpascual/purchase-workflow","description":"Odoo Purchases, Workflow and Organization","fork":true,"url":"https://api.github.com/repos/jvpascual/purchase-workflow","forks_url":"https://api.github.com/repos/jvpascual/purchase-workflow/forks","keys_url":"https://api.github.com/repos/jvpascual/purchase-workflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jvpascual/purchase-workflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jvpascual/purchase-workflow/teams","hooks_url":"https://api.github.com/repos/jvpascual/purchase-workflow/hooks","issue_events_url":"https://api.github.com/repos/jvpascual/purchase-workflow/issues/events{/number}","events_url":"https://api.github.com/repos/jvpascual/purchase-workflow/events","assignees_url":"https://api.github.com/repos/jvpascual/purchase-workflow/assignees{/user}","branches_url":"https://api.github.com/repos/jvpascual/purchase-workflow/branches{/branch}","tags_url":"https://api.github.com/repos/jvpascual/purchase-workflow/tags","blobs_url":"https://api.github.com/repos/jvpascual/purchase-workflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jvpascual/purchase-workflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jvpascual/purchase-workflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/jvpascual/purchase-workflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jvpascual/purchase-workflow/statuses/{sha}","languages_url":"https://api.github.com/repos/jvpascual/purchase-workflow/languages","stargazers_url":"https://api.github.com/repos/jvpascual/purchase-workflow/stargazers","contributors_url":"https://api.github.com/repos/jvpascual/purchase-workflow/contributors","subscribers_url":"https://api.github.com/repos/jvpascual/purchase-workflow/subscribers","subscription_url":"https://api.github.com/repos/jvpascual/purchase-workflow/subscription","commits_url":"https://api.github.com/repos/jvpascual/purchase-workflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/jvpascual/purchase-workflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/jvpascual/purchase-workflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/jvpascual/purchase-workflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/jvpascual/purchase-workflow/contents/{+path}","compare_url":"https://api.github.com/repos/jvpascual/purchase-workflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jvpascual/purchase-workflow/merges","archive_url":"https://api.github.com/repos/jvpascual/purchase-workflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jvpascual/purchase-workflow/downloads","issues_url":"https://api.github.com/repos/jvpascual/purchase-workflow/issues{/number}","pulls_url":"https://api.github.com/repos/jvpascual/purchase-workflow/pulls{/number}","milestones_url":"https://api.github.com/repos/jvpascual/purchase-workflow/milestones{/number}","notifications_url":"https://api.github.com/repos/jvpascual/purchase-workflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jvpascual/purchase-workflow/labels{/name}","releases_url":"https://api.github.com/repos/jvpascual/purchase-workflow/releases{/id}","deployments_url":"https://api.github.com/repos/jvpascual/purchase-workflow/deployments","created_at":"2018-08-08T09:59:04Z","updated_at":"2018-08-08T09:59:06Z","pushed_at":"2018-08-08T10:19:03Z","git_url":"git://github.com/jvpascual/purchase-workflow.git","ssh_url":"git@github.com:jvpascual/purchase-workflow.git","clone_url":"https://github.com/jvpascual/purchase-workflow.git","svn_url":"https://github.com/jvpascual/purchase-workflow","homepage":"","size":7370,"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","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"11.0"}},"base":{"label":"OCA:10.0","ref":"10.0","sha":"e5be1d9a5b0f284ce198f85f45c59fd2e859e1fa","user":{"login":"OCA","id":7600578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MDA1Nzg=","avatar_url":"https://avatars1.githubusercontent.com/u/7600578?v=4","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":20882845,"node_id":"MDEwOlJlcG9zaXRvcnkyMDg4Mjg0NQ==","name":"purchase-workflow","full_name":"OCA/purchase-workflow","owner":{"login":"OCA","id":7600578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MDA1Nzg=","avatar_url":"https://avatars1.githubusercontent.com/u/7600578?v=4","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/purchase-workflow","description":"Odoo Purchases, Workflow and Organization","fork":false,"url":"https://api.github.com/repos/OCA/purchase-workflow","forks_url":"https://api.github.com/repos/OCA/purchase-workflow/forks","keys_url":"https://api.github.com/repos/OCA/purchase-workflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/purchase-workflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/purchase-workflow/teams","hooks_url":"https://api.github.com/repos/OCA/purchase-workflow/hooks","issue_events_url":"https://api.github.com/repos/OCA/purchase-workflow/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/purchase-workflow/events","assignees_url":"https://api.github.com/repos/OCA/purchase-workflow/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/purchase-workflow/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/purchase-workflow/tags","blobs_url":"https://api.github.com/repos/OCA/purchase-workflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/purchase-workflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/purchase-workflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/purchase-workflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/purchase-workflow/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/purchase-workflow/languages","stargazers_url":"https://api.github.com/repos/OCA/purchase-workflow/stargazers","contributors_url":"https://api.github.com/repos/OCA/purchase-workflow/contributors","subscribers_url":"https://api.github.com/repos/OCA/purchase-workflow/subscribers","subscription_url":"https://api.github.com/repos/OCA/purchase-workflow/subscription","commits_url":"https://api.github.com/repos/OCA/purchase-workflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/purchase-workflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/purchase-workflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/purchase-workflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/purchase-workflow/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/purchase-workflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/purchase-workflow/merges","archive_url":"https://api.github.com/repos/OCA/purchase-workflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/purchase-workflow/downloads","issues_url":"https://api.github.com/repos/OCA/purchase-workflow/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/purchase-workflow/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/purchase-workflow/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/purchase-workflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/purchase-workflow/labels{/name}","releases_url":"https://api.github.com/repos/OCA/purchase-workflow/releases{/id}","deployments_url":"https://api.github.com/repos/OCA/purchase-workflow/deployments","created_at":"2014-06-16T11:44:14Z","updated_at":"2018-07-30T07:16:41Z","pushed_at":"2018-08-08T10:24:10Z","git_url":"git://github.com/OCA/purchase-workflow.git","ssh_url":"git@github.com:OCA/purchase-workflow.git","clone_url":"https://github.com/OCA/purchase-workflow.git","svn_url":"https://github.com/OCA/purchase-workflow","homepage":"","size":8192,"stargazers_count":40,"watchers_count":40,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":234,"mirror_url":null,"archived":false,"open_issues_count":117,"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","node_id":"MDc6TGljZW5zZTE="},"forks":234,"open_issues":117,"watchers":40,"default_branch":"11.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/purchase-workflow/pulls/574"},"html":{"href":"https://github.com/OCA/purchase-workflow/pull/574"},"issue":{"href":"https://api.github.com/repos/OCA/purchase-workflow/issues/574"},"comments":{"href":"https://api.github.com/repos/OCA/purchase-workflow/issues/574/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/purchase-workflow/pulls/574/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/purchase-workflow/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/purchase-workflow/pulls/574/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/purchase-workflow/statuses/cfa46c0469a1b4407f0ae9510481aca3c9db297d"}},"author_association":"NONE"}}
{"actor":{"display_login":"hveficent"}}