{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/purchase-workflow/pulls/comments/124242382","pull_request_review_id":46512945,"id":124242382,"diff_hunk":"@@ -73,6 +73,7 @@ def _prepare_procurement_order_values(\n             'product_qty': self.product_qty,\n             'product_uom': self.product_uom_id.id,\n             'date_planned': self.date_required,\n+            'request_id': self.request_id.id,","path":"purchase_request_to_procurement/models/purchase_request.py","position":4,"original_position":4,"commit_id":"fbc5bd4ff56ce25ce53f152335e4ab3156e2e6e2","original_commit_id":"fbc5bd4ff56ce25ce53f152335e4ab3156e2e6e2","user":{"login":"benwillig","id":27724417,"avatar_url":"https://avatars0.githubusercontent.com/u/27724417?v=3","gravatar_id":"","url":"https://api.github.com/users/benwillig","html_url":"https://github.com/benwillig","followers_url":"https://api.github.com/users/benwillig/followers","following_url":"https://api.github.com/users/benwillig/following{/other_user}","gists_url":"https://api.github.com/users/benwillig/gists{/gist_id}","starred_url":"https://api.github.com/users/benwillig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwillig/subscriptions","organizations_url":"https://api.github.com/users/benwillig/orgs","repos_url":"https://api.github.com/users/benwillig/repos","events_url":"https://api.github.com/users/benwillig/events{/privacy}","received_events_url":"https://api.github.com/users/benwillig/received_events","type":"User","site_admin":false},"body":"Yes you are right. The link already exists, I missed that.\r\n\r\nFor the second point, I don't like to set a value on a field which might not exist ^^, in my opinion this is a programming error (even if there is only a warning). But as I said, this is just my opinion. And ```purchase_request_to_procurement``` should not inherit from ```purchase_request_procurement``` so we can't add this dependency. ","created_at":"2017-06-27T11:00:25Z","updated_at":"2017-06-27T11:00:25Z","html_url":"https://github.com/OCA/purchase-workflow/pull/414#discussion_r124242382","pull_request_url":"https://api.github.com/repos/OCA/purchase-workflow/pulls/414","_links":{"self":{"href":"https://api.github.com/repos/OCA/purchase-workflow/pulls/comments/124242382"},"html":{"href":"https://github.com/OCA/purchase-workflow/pull/414#discussion_r124242382"},"pull_request":{"href":"https://api.github.com/repos/OCA/purchase-workflow/pulls/414"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/purchase-workflow/pulls/414","id":126039460,"html_url":"https://github.com/OCA/purchase-workflow/pull/414","diff_url":"https://github.com/OCA/purchase-workflow/pull/414.diff","patch_url":"https://github.com/OCA/purchase-workflow/pull/414.patch","issue_url":"https://api.github.com/repos/OCA/purchase-workflow/issues/414","number":414,"state":"open","locked":false,"title":"[9.0][IMP]purchase_request_to_procurement: adapt to new cancelled state in lines.","user":{"login":"lreficent","id":23449160,"avatar_url":"https://avatars1.githubusercontent.com/u/23449160?v=3","gravatar_id":"","url":"https://api.github.com/users/lreficent","html_url":"https://github.com/lreficent","followers_url":"https://api.github.com/users/lreficent/followers","following_url":"https://api.github.com/users/lreficent/following{/other_user}","gists_url":"https://api.github.com/users/lreficent/gists{/gist_id}","starred_url":"https://api.github.com/users/lreficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lreficent/subscriptions","organizations_url":"https://api.github.com/users/lreficent/orgs","repos_url":"https://api.github.com/users/lreficent/repos","events_url":"https://api.github.com/users/lreficent/events{/privacy}","received_events_url":"https://api.github.com/users/lreficent/received_events","type":"User","site_admin":false},"body":"Depends on https://github.com/OCA/purchase-workflow/pull/412. and related to https://github.com/OCA/purchase-workflow/issues/396.","created_at":"2017-06-16T14:00:51Z","updated_at":"2017-06-27T11:00:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"68e5b3f2f6238a19614caf89f45a050391168088","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/OCA/purchase-workflow/pulls/414/commits","review_comments_url":"https://api.github.com/repos/OCA/purchase-workflow/pulls/414/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/414/comments","statuses_url":"https://api.github.com/repos/OCA/purchase-workflow/statuses/fbc5bd4ff56ce25ce53f152335e4ab3156e2e6e2","head":{"label":"Eficent:9.0-imp-purchase_request_to_procurement-cancelled","ref":"9.0-imp-purchase_request_to_procurement-cancelled","sha":"fbc5bd4ff56ce25ce53f152335e4ab3156e2e6e2","user":{"login":"Eficent","id":7718403,"avatar_url":"https://avatars3.githubusercontent.com/u/7718403?v=3","gravatar_id":"","url":"https://api.github.com/users/Eficent","html_url":"https://github.com/Eficent","followers_url":"https://api.github.com/users/Eficent/followers","following_url":"https://api.github.com/users/Eficent/following{/other_user}","gists_url":"https://api.github.com/users/Eficent/gists{/gist_id}","starred_url":"https://api.github.com/users/Eficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eficent/subscriptions","organizations_url":"https://api.github.com/users/Eficent/orgs","repos_url":"https://api.github.com/users/Eficent/repos","events_url":"https://api.github.com/users/Eficent/events{/privacy}","received_events_url":"https://api.github.com/users/Eficent/received_events","type":"Organization","site_admin":false},"repo":{"id":34731354,"name":"purchase-workflow","full_name":"Eficent/purchase-workflow","owner":{"login":"Eficent","id":7718403,"avatar_url":"https://avatars3.githubusercontent.com/u/7718403?v=3","gravatar_id":"","url":"https://api.github.com/users/Eficent","html_url":"https://github.com/Eficent","followers_url":"https://api.github.com/users/Eficent/followers","following_url":"https://api.github.com/users/Eficent/following{/other_user}","gists_url":"https://api.github.com/users/Eficent/gists{/gist_id}","starred_url":"https://api.github.com/users/Eficent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Eficent/subscriptions","organizations_url":"https://api.github.com/users/Eficent/orgs","repos_url":"https://api.github.com/users/Eficent/repos","events_url":"https://api.github.com/users/Eficent/events{/privacy}","received_events_url":"https://api.github.com/users/Eficent/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Eficent/purchase-workflow","description":"Odoo Purchases, Workflow and Organization","fork":true,"url":"https://api.github.com/repos/Eficent/purchase-workflow","forks_url":"https://api.github.com/repos/Eficent/purchase-workflow/forks","keys_url":"https://api.github.com/repos/Eficent/purchase-workflow/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Eficent/purchase-workflow/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Eficent/purchase-workflow/teams","hooks_url":"https://api.github.com/repos/Eficent/purchase-workflow/hooks","issue_events_url":"https://api.github.com/repos/Eficent/purchase-workflow/issues/events{/number}","events_url":"https://api.github.com/repos/Eficent/purchase-workflow/events","assignees_url":"https://api.github.com/repos/Eficent/purchase-workflow/assignees{/user}","branches_url":"https://api.github.com/repos/Eficent/purchase-workflow/branches{/branch}","tags_url":"https://api.github.com/repos/Eficent/purchase-workflow/tags","blobs_url":"https://api.github.com/repos/Eficent/purchase-workflow/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Eficent/purchase-workflow/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Eficent/purchase-workflow/git/refs{/sha}","trees_url":"https://api.github.com/repos/Eficent/purchase-workflow/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Eficent/purchase-workflow/statuses/{sha}","languages_url":"https://api.github.com/repos/Eficent/purchase-workflow/languages","stargazers_url":"https://api.github.com/repos/Eficent/purchase-workflow/stargazers","contributors_url":"https://api.github.com/repos/Eficent/purchase-workflow/contributors","subscribers_url":"https://api.github.com/repos/Eficent/purchase-workflow/subscribers","subscription_url":"https://api.github.com/repos/Eficent/purchase-workflow/subscription","commits_url":"https://api.github.com/repos/Eficent/purchase-workflow/commits{/sha}","git_commits_url":"https://api.github.com/repos/Eficent/purchase-workflow/git/commits{/sha}","comments_url":"https://api.github.com/repos/Eficent/purchase-workflow/comments{/number}","issue_comment_url":"https://api.github.com/repos/Eficent/purchase-workflow/issues/comments{/number}","contents_url":"https://api.github.com/repos/Eficent/purchase-workflow/contents/{+path}","compare_url":"https://api.github.com/repos/Eficent/purchase-workflow/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Eficent/purchase-workflow/merges","archive_url":"https://api.github.com/repos/Eficent/purchase-workflow/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Eficent/purchase-workflow/downloads","issues_url":"https://api.github.com/repos/Eficent/purchase-workflow/issues{/number}","pulls_url":"https://api.github.com/repos/Eficent/purchase-workflow/pulls{/number}","milestones_url":"https://api.github.com/repos/Eficent/purchase-workflow/milestones{/number}","notifications_url":"https://api.github.com/repos/Eficent/purchase-workflow/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Eficent/purchase-workflow/labels{/name}","releases_url":"https://api.github.com/repos/Eficent/purchase-workflow/releases{/id}","deployments_url":"https://api.github.com/repos/Eficent/purchase-workflow/deployments","created_at":"2015-04-28T13:14:23Z","updated_at":"2015-05-04T14:55:35Z","pushed_at":"2017-06-27T10:55:55Z","git_url":"git://github.com/Eficent/purchase-workflow.git","ssh_url":"git@github.com:Eficent/purchase-workflow.git","clone_url":"https://github.com/Eficent/purchase-workflow.git","svn_url":"https://github.com/Eficent/purchase-workflow","homepage":"","size":5132,"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":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":0,"default_branch":"7.0-procurement_group_purchase_orders"}},"base":{"label":"OCA:9.0","ref":"9.0","sha":"c9312d67f98e93417ab7b5fdb51952a7cc9f36c8","user":{"login":"OCA","id":7600578,"avatar_url":"https://avatars2.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":20882845,"name":"purchase-workflow","full_name":"OCA/purchase-workflow","owner":{"login":"OCA","id":7600578,"avatar_url":"https://avatars2.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/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":"2017-06-13T05:33:37Z","pushed_at":"2017-06-27T10:55:57Z","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":5979,"stargazers_count":26,"watchers_count":26,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":161,"mirror_url":null,"open_issues_count":103,"forks":161,"open_issues":103,"watchers":26,"default_branch":"10.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/purchase-workflow/pulls/414"},"html":{"href":"https://github.com/OCA/purchase-workflow/pull/414"},"issue":{"href":"https://api.github.com/repos/OCA/purchase-workflow/issues/414"},"comments":{"href":"https://api.github.com/repos/OCA/purchase-workflow/issues/414/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/purchase-workflow/pulls/414/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/414/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/purchase-workflow/statuses/fbc5bd4ff56ce25ce53f152335e4ab3156e2e6e2"}}}}
{"actor":{"display_login":"benwillig"}}