{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/vertical-ngo/pulls/comments/23613120","id":23613120,"diff_hunk":"@@ -22,18 +22,46 @@\n         <field name=\"model\">sale.order</field>\n         <field name=\"inherit_id\" ref=\"logistic_consignee.view_order_form\"/>\n         <field name=\"arch\" type=\"xml\">\n+\n+          <h1 position=\"before\">\n+            <div class=\"oe_right oe_button_box\" style=\"width: 300px;\" name=\"buttons\">\n+              <button class=\"oe_inline oe_stat_button\" name=\"action_open_logistic_requisition\"\n+                type=\"object\" icon=\"fa-thumb-tack\">\n+                <field string=\"Linked LR\" name=\"lr_count\" widget=\"statinfo\" />\n+              </button>\n+              <button class=\"oe_inline oe_stat_button\" name=\"action_open_lr_sources\"\n+                type=\"object\" icon=\"fa-search\">\n+                <field string=\"Linked LRS\" name=\"lr_source_count\" widget=\"statinfo\" />\n+              </button>\n+              <button class=\"oe_inline oe_stat_button\" name=\"action_open_lr_purchases\"\n+                type=\"object\" icon=\"fa-shopping-cart\" states=\"draft\">\n+                <field string=\"Relevent Bid &amp; PO\" name=\"lr_purchase_count\" widget=\"statinfo\" />","path":"logistic_requisition/view/sale_order.xml","position":25,"original_position":25,"commit_id":"b8b413f965a19c9a1b3806d8e95e3bdf4267a21b","original_commit_id":"fe5e12bfbd867cc2158875e23773d10440d175b0","user":{"login":"gurneyalex","id":2032807,"avatar_url":"https://avatars.githubusercontent.com/u/2032807?v=3","gravatar_id":"","url":"https://api.github.com/users/gurneyalex","html_url":"https://github.com/gurneyalex","followers_url":"https://api.github.com/users/gurneyalex/followers","following_url":"https://api.github.com/users/gurneyalex/following{/other_user}","gists_url":"https://api.github.com/users/gurneyalex/gists{/gist_id}","starred_url":"https://api.github.com/users/gurneyalex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gurneyalex/subscriptions","organizations_url":"https://api.github.com/users/gurneyalex/orgs","repos_url":"https://api.github.com/users/gurneyalex/repos","events_url":"https://api.github.com/users/gurneyalex/events{/privacy}","received_events_url":"https://api.github.com/users/gurneyalex/received_events","type":"User","site_admin":false},"body":"s/relevent/relevant/","created_at":"2015-01-27T15:02:06Z","updated_at":"2015-01-27T15:02:06Z","html_url":"https://github.com/OCA/vertical-ngo/pull/114#discussion_r23613120","pull_request_url":"https://api.github.com/repos/OCA/vertical-ngo/pulls/114","_links":{"self":{"href":"https://api.github.com/repos/OCA/vertical-ngo/pulls/comments/23613120"},"html":{"href":"https://github.com/OCA/vertical-ngo/pull/114#discussion_r23613120"},"pull_request":{"href":"https://api.github.com/repos/OCA/vertical-ngo/pulls/114"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/vertical-ngo/pulls/114","id":27933085,"html_url":"https://github.com/OCA/vertical-ngo/pull/114","diff_url":"https://github.com/OCA/vertical-ngo/pull/114.diff","patch_url":"https://github.com/OCA/vertical-ngo/pull/114.patch","issue_url":"https://api.github.com/repos/OCA/vertical-ngo/issues/114","number":114,"state":"open","locked":false,"title":"[8.0] improve ngo wkfl","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":"* Rename procurement_method to sourcing_method on LRS\r\n* Add state `Accepted` on Cost Estimate\r\n* Add workflow transitions from Draft and Sent to Accepted and from Accepted to Confirmed\r\n* On Accept of Cost estimate, generate PO from related Framework agreement and Tenders\r\n* Add Buttons on LO to navigate to related LR, LRS and PO\r\n* Add a Button on PO to navigate to related CE/LO","created_at":"2015-01-23T15:51:15Z","updated_at":"2015-01-27T15:02:06Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c452f5ba807a4b265216a3ca072ff5562d61998","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/vertical-ngo/pulls/114/commits","review_comments_url":"https://api.github.com/repos/OCA/vertical-ngo/pulls/114/comments","review_comment_url":"https://api.github.com/repos/OCA/vertical-ngo/pulls/comments/{number}","comments_url":"https://api.github.com/repos/OCA/vertical-ngo/issues/114/comments","statuses_url":"https://api.github.com/repos/OCA/vertical-ngo/statuses/b8b413f965a19c9a1b3806d8e95e3bdf4267a21b","head":{"label":"yvaucher:8.0-improve-ngo-wkfl","ref":"8.0-improve-ngo-wkfl","sha":"b8b413f965a19c9a1b3806d8e95e3bdf4267a21b","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},"repo":{"id":23216855,"name":"vertical-ngo","full_name":"yvaucher/vertical-ngo","owner":{"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},"private":false,"html_url":"https://github.com/yvaucher/vertical-ngo","description":"","fork":true,"url":"https://api.github.com/repos/yvaucher/vertical-ngo","forks_url":"https://api.github.com/repos/yvaucher/vertical-ngo/forks","keys_url":"https://api.github.com/repos/yvaucher/vertical-ngo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/yvaucher/vertical-ngo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/yvaucher/vertical-ngo/teams","hooks_url":"https://api.github.com/repos/yvaucher/vertical-ngo/hooks","issue_events_url":"https://api.github.com/repos/yvaucher/vertical-ngo/issues/events{/number}","events_url":"https://api.github.com/repos/yvaucher/vertical-ngo/events","assignees_url":"https://api.github.com/repos/yvaucher/vertical-ngo/assignees{/user}","branches_url":"https://api.github.com/repos/yvaucher/vertical-ngo/branches{/branch}","tags_url":"https://api.github.com/repos/yvaucher/vertical-ngo/tags","blobs_url":"https://api.github.com/repos/yvaucher/vertical-ngo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/yvaucher/vertical-ngo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/yvaucher/vertical-ngo/git/refs{/sha}","trees_url":"https://api.github.com/repos/yvaucher/vertical-ngo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/yvaucher/vertical-ngo/statuses/{sha}","languages_url":"https://api.github.com/repos/yvaucher/vertical-ngo/languages","stargazers_url":"https://api.github.com/repos/yvaucher/vertical-ngo/stargazers","contributors_url":"https://api.github.com/repos/yvaucher/vertical-ngo/contributors","subscribers_url":"https://api.github.com/repos/yvaucher/vertical-ngo/subscribers","subscription_url":"https://api.github.com/repos/yvaucher/vertical-ngo/subscription","commits_url":"https://api.github.com/repos/yvaucher/vertical-ngo/commits{/sha}","git_commits_url":"https://api.github.com/repos/yvaucher/vertical-ngo/git/commits{/sha}","comments_url":"https://api.github.com/repos/yvaucher/vertical-ngo/comments{/number}","issue_comment_url":"https://api.github.com/repos/yvaucher/vertical-ngo/issues/comments/{number}","contents_url":"https://api.github.com/repos/yvaucher/vertical-ngo/contents/{+path}","compare_url":"https://api.github.com/repos/yvaucher/vertical-ngo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/yvaucher/vertical-ngo/merges","archive_url":"https://api.github.com/repos/yvaucher/vertical-ngo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/yvaucher/vertical-ngo/downloads","issues_url":"https://api.github.com/repos/yvaucher/vertical-ngo/issues{/number}","pulls_url":"https://api.github.com/repos/yvaucher/vertical-ngo/pulls{/number}","milestones_url":"https://api.github.com/repos/yvaucher/vertical-ngo/milestones{/number}","notifications_url":"https://api.github.com/repos/yvaucher/vertical-ngo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/yvaucher/vertical-ngo/labels{/name}","releases_url":"https://api.github.com/repos/yvaucher/vertical-ngo/releases{/id}","created_at":"2014-08-22T07:27:59Z","updated_at":"2014-12-11T10:31:33Z","pushed_at":"2015-01-27T15:01:49Z","git_url":"git://github.com/yvaucher/vertical-ngo.git","ssh_url":"git@github.com:yvaucher/vertical-ngo.git","clone_url":"https://github.com/yvaucher/vertical-ngo.git","svn_url":"https://github.com/yvaucher/vertical-ngo","homepage":null,"size":4772,"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":"2fe8d8648a96031de041c66f37f63e0c975efaa5","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":20897575,"name":"vertical-ngo","full_name":"OCA/vertical-ngo","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/vertical-ngo","description":"","fork":false,"url":"https://api.github.com/repos/OCA/vertical-ngo","forks_url":"https://api.github.com/repos/OCA/vertical-ngo/forks","keys_url":"https://api.github.com/repos/OCA/vertical-ngo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/vertical-ngo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/vertical-ngo/teams","hooks_url":"https://api.github.com/repos/OCA/vertical-ngo/hooks","issue_events_url":"https://api.github.com/repos/OCA/vertical-ngo/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/vertical-ngo/events","assignees_url":"https://api.github.com/repos/OCA/vertical-ngo/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/vertical-ngo/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/vertical-ngo/tags","blobs_url":"https://api.github.com/repos/OCA/vertical-ngo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/vertical-ngo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/vertical-ngo/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/vertical-ngo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/vertical-ngo/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/vertical-ngo/languages","stargazers_url":"https://api.github.com/repos/OCA/vertical-ngo/stargazers","contributors_url":"https://api.github.com/repos/OCA/vertical-ngo/contributors","subscribers_url":"https://api.github.com/repos/OCA/vertical-ngo/subscribers","subscription_url":"https://api.github.com/repos/OCA/vertical-ngo/subscription","commits_url":"https://api.github.com/repos/OCA/vertical-ngo/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/vertical-ngo/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/vertical-ngo/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/vertical-ngo/issues/comments/{number}","contents_url":"https://api.github.com/repos/OCA/vertical-ngo/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/vertical-ngo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/vertical-ngo/merges","archive_url":"https://api.github.com/repos/OCA/vertical-ngo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/vertical-ngo/downloads","issues_url":"https://api.github.com/repos/OCA/vertical-ngo/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/vertical-ngo/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/vertical-ngo/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/vertical-ngo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/vertical-ngo/labels{/name}","releases_url":"https://api.github.com/repos/OCA/vertical-ngo/releases{/id}","created_at":"2014-06-16T19:24:02Z","updated_at":"2015-01-26T15:43:19Z","pushed_at":"2015-01-26T15:43:19Z","git_url":"git://github.com/OCA/vertical-ngo.git","ssh_url":"git@github.com:OCA/vertical-ngo.git","clone_url":"https://github.com/OCA/vertical-ngo.git","svn_url":"https://github.com/OCA/vertical-ngo","homepage":null,"size":5592,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":12,"mirror_url":null,"open_issues_count":11,"forks":12,"open_issues":11,"watchers":1,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/vertical-ngo/pulls/114"},"html":{"href":"https://github.com/OCA/vertical-ngo/pull/114"},"issue":{"href":"https://api.github.com/repos/OCA/vertical-ngo/issues/114"},"comments":{"href":"https://api.github.com/repos/OCA/vertical-ngo/issues/114/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/vertical-ngo/pulls/114/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/vertical-ngo/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/OCA/vertical-ngo/pulls/114/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/vertical-ngo/statuses/b8b413f965a19c9a1b3806d8e95e3bdf4267a21b"}}}}