{"action":"created","comment":{"url":"https://api.github.com/repos/rfhk/cip-custom/pulls/comments/130506238","pull_request_review_id":53387672,"id":130506238,"diff_hunk":"@@ -0,0 +1,66 @@\n+<?xml version=\"1.0\" encoding=\"utf-8\"?>\n+<odoo>\n+    <record model=\"ir.ui.view\" id=\"view_sale_order_line_tree\">\n+        <field name=\"name\">sale.order.line.tree</field>\n+        <field name=\"model\">sale.order.line</field>\n+        <field name=\"arch\" type=\"xml\">\n+            <tree string=\"Sales Orders Lines\">\n+                <field name=\"order_id\"/>\n+                <field name=\"order_partner_id\"/>\n+                <field name=\"categ_id\"/>\n+                <field name=\"name\"/>\n+                <field name=\"lot_id\"/>\n+                <field name=\"salesman_id\"/>\n+                <field name=\"product_uom_qty\"/>\n+                <field name=\"qty_delivered\"/>\n+                <field name=\"qty_invoiced\"/>\n+                <field name=\"qty_to_invoice\"/>\n+                <field name=\"price_subtotal\" sum=\"Total\" widget=\"monetary\"/>\n+                <field name=\"state\"/>\n+            </tree>\n+        </field>\n+    </record>\n+\n+    <record model=\"ir.ui.view\" id=\"view_sale_order_line_search\">\n+        <field name=\"name\">sale.order.line.search</field>\n+        <field name=\"model\">sale.order.line</field>\n+        <field name=\"arch\" type=\"xml\">\n+            <search string=\"Search options\">\n+                <filter string=\"To Be Delivered\"\n+                        domain=\"[('to_be_delivered','=',True)]\"/>\n+                <filter string=\"Sales\"\n+                        domain=\"[('state','in',('sale','done'))]\"/>\n+                <separator/>\n+                <field name=\"categ_id\"/>\n+                <field name=\"order_partner_id\"/>\n+                <group expand=\"0\" string=\"Group By\">\n+                    <filter string=\"Expected Date\"\n+                            domain=\"[]\"\n+                            context=\"{'group_by':'expected_date'}\"/>\n+                </group>\n+            </search>\n+        </field>\n+    </record>\n+\n+    <record id=\"action_sale_order_line\" model=\"ir.actions.act_window\">\n+        <field name=\"name\">Sales Orders Lines</field>\n+        <field name=\"type\">ir.actions.act_window</field>\n+        <field name=\"res_model\">sale.order.line</field>\n+        <field name=\"view_id\" ref=\"view_sale_order_line_tree\"/>\n+        <field name=\"search_view_id\" ref=\"view_sale_order_line_search\"/>\n+        <field name=\"domain\">[('is_delivery','!=',True)]</field>","path":"sale_order_line_tree_view/views/sale_order_line_views.xml","position":51,"original_position":51,"commit_id":"d8cf0e8d376a7a93e0d4d1ba137f6549e70f9717","original_commit_id":"d8cf0e8d376a7a93e0d4d1ba137f6549e70f9717","user":{"login":"yostashiro","id":7766939,"avatar_url":"https://avatars0.githubusercontent.com/u/7766939?v=4","gravatar_id":"","url":"https://api.github.com/users/yostashiro","html_url":"https://github.com/yostashiro","followers_url":"https://api.github.com/users/yostashiro/followers","following_url":"https://api.github.com/users/yostashiro/following{/other_user}","gists_url":"https://api.github.com/users/yostashiro/gists{/gist_id}","starred_url":"https://api.github.com/users/yostashiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yostashiro/subscriptions","organizations_url":"https://api.github.com/users/yostashiro/orgs","repos_url":"https://api.github.com/users/yostashiro/repos","events_url":"https://api.github.com/users/yostashiro/events{/privacy}","received_events_url":"https://api.github.com/users/yostashiro/received_events","type":"User","site_admin":false},"body":"let's show these records as well rather than hiding them. We aim to make the function to be rather generic.","created_at":"2017-08-01T02:12:20Z","updated_at":"2017-08-01T02:12:20Z","html_url":"https://github.com/rfhk/cip-custom/pull/62#discussion_r130506238","pull_request_url":"https://api.github.com/repos/rfhk/cip-custom/pulls/62","_links":{"self":{"href":"https://api.github.com/repos/rfhk/cip-custom/pulls/comments/130506238"},"html":{"href":"https://github.com/rfhk/cip-custom/pull/62#discussion_r130506238"},"pull_request":{"href":"https://api.github.com/repos/rfhk/cip-custom/pulls/62"}}},"pull_request":{"url":"https://api.github.com/repos/rfhk/cip-custom/pulls/62","id":133217910,"html_url":"https://github.com/rfhk/cip-custom/pull/62","diff_url":"https://github.com/rfhk/cip-custom/pull/62.diff","patch_url":"https://github.com/rfhk/cip-custom/pull/62.patch","issue_url":"https://api.github.com/repos/rfhk/cip-custom/issues/62","number":62,"state":"open","locked":false,"title":"[ADD] sale_order_line_tree_view","user":{"login":"TimLai125","id":27185427,"avatar_url":"https://avatars2.githubusercontent.com/u/27185427?v=4","gravatar_id":"","url":"https://api.github.com/users/TimLai125","html_url":"https://github.com/TimLai125","followers_url":"https://api.github.com/users/TimLai125/followers","following_url":"https://api.github.com/users/TimLai125/following{/other_user}","gists_url":"https://api.github.com/users/TimLai125/gists{/gist_id}","starred_url":"https://api.github.com/users/TimLai125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimLai125/subscriptions","organizations_url":"https://api.github.com/users/TimLai125/orgs","repos_url":"https://api.github.com/users/TimLai125/repos","events_url":"https://api.github.com/users/TimLai125/events{/privacy}","received_events_url":"https://api.github.com/users/TimLai125/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-31T11:00:36Z","updated_at":"2017-08-01T02:12:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"627d665e27e12f871b20104a735af24112efd0f3","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/rfhk/cip-custom/pulls/62/commits","review_comments_url":"https://api.github.com/repos/rfhk/cip-custom/pulls/62/comments","review_comment_url":"https://api.github.com/repos/rfhk/cip-custom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rfhk/cip-custom/issues/62/comments","statuses_url":"https://api.github.com/repos/rfhk/cip-custom/statuses/d8cf0e8d376a7a93e0d4d1ba137f6549e70f9717","head":{"label":"TimLai125:sale_order_line_view","ref":"sale_order_line_view","sha":"d8cf0e8d376a7a93e0d4d1ba137f6549e70f9717","user":{"login":"TimLai125","id":27185427,"avatar_url":"https://avatars2.githubusercontent.com/u/27185427?v=4","gravatar_id":"","url":"https://api.github.com/users/TimLai125","html_url":"https://github.com/TimLai125","followers_url":"https://api.github.com/users/TimLai125/followers","following_url":"https://api.github.com/users/TimLai125/following{/other_user}","gists_url":"https://api.github.com/users/TimLai125/gists{/gist_id}","starred_url":"https://api.github.com/users/TimLai125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimLai125/subscriptions","organizations_url":"https://api.github.com/users/TimLai125/orgs","repos_url":"https://api.github.com/users/TimLai125/repos","events_url":"https://api.github.com/users/TimLai125/events{/privacy}","received_events_url":"https://api.github.com/users/TimLai125/received_events","type":"User","site_admin":false},"repo":{"id":92907670,"name":"cip-custom","full_name":"TimLai125/cip-custom","owner":{"login":"TimLai125","id":27185427,"avatar_url":"https://avatars2.githubusercontent.com/u/27185427?v=4","gravatar_id":"","url":"https://api.github.com/users/TimLai125","html_url":"https://github.com/TimLai125","followers_url":"https://api.github.com/users/TimLai125/followers","following_url":"https://api.github.com/users/TimLai125/following{/other_user}","gists_url":"https://api.github.com/users/TimLai125/gists{/gist_id}","starred_url":"https://api.github.com/users/TimLai125/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TimLai125/subscriptions","organizations_url":"https://api.github.com/users/TimLai125/orgs","repos_url":"https://api.github.com/users/TimLai125/repos","events_url":"https://api.github.com/users/TimLai125/events{/privacy}","received_events_url":"https://api.github.com/users/TimLai125/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/TimLai125/cip-custom","description":null,"fork":true,"url":"https://api.github.com/repos/TimLai125/cip-custom","forks_url":"https://api.github.com/repos/TimLai125/cip-custom/forks","keys_url":"https://api.github.com/repos/TimLai125/cip-custom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TimLai125/cip-custom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TimLai125/cip-custom/teams","hooks_url":"https://api.github.com/repos/TimLai125/cip-custom/hooks","issue_events_url":"https://api.github.com/repos/TimLai125/cip-custom/issues/events{/number}","events_url":"https://api.github.com/repos/TimLai125/cip-custom/events","assignees_url":"https://api.github.com/repos/TimLai125/cip-custom/assignees{/user}","branches_url":"https://api.github.com/repos/TimLai125/cip-custom/branches{/branch}","tags_url":"https://api.github.com/repos/TimLai125/cip-custom/tags","blobs_url":"https://api.github.com/repos/TimLai125/cip-custom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TimLai125/cip-custom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TimLai125/cip-custom/git/refs{/sha}","trees_url":"https://api.github.com/repos/TimLai125/cip-custom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TimLai125/cip-custom/statuses/{sha}","languages_url":"https://api.github.com/repos/TimLai125/cip-custom/languages","stargazers_url":"https://api.github.com/repos/TimLai125/cip-custom/stargazers","contributors_url":"https://api.github.com/repos/TimLai125/cip-custom/contributors","subscribers_url":"https://api.github.com/repos/TimLai125/cip-custom/subscribers","subscription_url":"https://api.github.com/repos/TimLai125/cip-custom/subscription","commits_url":"https://api.github.com/repos/TimLai125/cip-custom/commits{/sha}","git_commits_url":"https://api.github.com/repos/TimLai125/cip-custom/git/commits{/sha}","comments_url":"https://api.github.com/repos/TimLai125/cip-custom/comments{/number}","issue_comment_url":"https://api.github.com/repos/TimLai125/cip-custom/issues/comments{/number}","contents_url":"https://api.github.com/repos/TimLai125/cip-custom/contents/{+path}","compare_url":"https://api.github.com/repos/TimLai125/cip-custom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TimLai125/cip-custom/merges","archive_url":"https://api.github.com/repos/TimLai125/cip-custom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TimLai125/cip-custom/downloads","issues_url":"https://api.github.com/repos/TimLai125/cip-custom/issues{/number}","pulls_url":"https://api.github.com/repos/TimLai125/cip-custom/pulls{/number}","milestones_url":"https://api.github.com/repos/TimLai125/cip-custom/milestones{/number}","notifications_url":"https://api.github.com/repos/TimLai125/cip-custom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TimLai125/cip-custom/labels{/name}","releases_url":"https://api.github.com/repos/TimLai125/cip-custom/releases{/id}","deployments_url":"https://api.github.com/repos/TimLai125/cip-custom/deployments","created_at":"2017-05-31T05:26:01Z","updated_at":"2017-05-31T05:26:03Z","pushed_at":"2017-07-31T11:08:48Z","git_url":"git://github.com/TimLai125/cip-custom.git","ssh_url":"git@github.com:TimLai125/cip-custom.git","clone_url":"https://github.com/TimLai125/cip-custom.git","svn_url":"https://github.com/TimLai125/cip-custom","homepage":null,"size":5185,"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,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"7.0"}},"base":{"label":"rfhk:10.0","ref":"10.0","sha":"5c1f351243fe458e0d5888f05cc4e0823aad8356","user":{"login":"rfhk","id":8349056,"avatar_url":"https://avatars1.githubusercontent.com/u/8349056?v=4","gravatar_id":"","url":"https://api.github.com/users/rfhk","html_url":"https://github.com/rfhk","followers_url":"https://api.github.com/users/rfhk/followers","following_url":"https://api.github.com/users/rfhk/following{/other_user}","gists_url":"https://api.github.com/users/rfhk/gists{/gist_id}","starred_url":"https://api.github.com/users/rfhk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfhk/subscriptions","organizations_url":"https://api.github.com/users/rfhk/orgs","repos_url":"https://api.github.com/users/rfhk/repos","events_url":"https://api.github.com/users/rfhk/events{/privacy}","received_events_url":"https://api.github.com/users/rfhk/received_events","type":"Organization","site_admin":false},"repo":{"id":22596732,"name":"cip-custom","full_name":"rfhk/cip-custom","owner":{"login":"rfhk","id":8349056,"avatar_url":"https://avatars1.githubusercontent.com/u/8349056?v=4","gravatar_id":"","url":"https://api.github.com/users/rfhk","html_url":"https://github.com/rfhk","followers_url":"https://api.github.com/users/rfhk/followers","following_url":"https://api.github.com/users/rfhk/following{/other_user}","gists_url":"https://api.github.com/users/rfhk/gists{/gist_id}","starred_url":"https://api.github.com/users/rfhk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rfhk/subscriptions","organizations_url":"https://api.github.com/users/rfhk/orgs","repos_url":"https://api.github.com/users/rfhk/repos","events_url":"https://api.github.com/users/rfhk/events{/privacy}","received_events_url":"https://api.github.com/users/rfhk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rfhk/cip-custom","description":null,"fork":false,"url":"https://api.github.com/repos/rfhk/cip-custom","forks_url":"https://api.github.com/repos/rfhk/cip-custom/forks","keys_url":"https://api.github.com/repos/rfhk/cip-custom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rfhk/cip-custom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rfhk/cip-custom/teams","hooks_url":"https://api.github.com/repos/rfhk/cip-custom/hooks","issue_events_url":"https://api.github.com/repos/rfhk/cip-custom/issues/events{/number}","events_url":"https://api.github.com/repos/rfhk/cip-custom/events","assignees_url":"https://api.github.com/repos/rfhk/cip-custom/assignees{/user}","branches_url":"https://api.github.com/repos/rfhk/cip-custom/branches{/branch}","tags_url":"https://api.github.com/repos/rfhk/cip-custom/tags","blobs_url":"https://api.github.com/repos/rfhk/cip-custom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rfhk/cip-custom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rfhk/cip-custom/git/refs{/sha}","trees_url":"https://api.github.com/repos/rfhk/cip-custom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rfhk/cip-custom/statuses/{sha}","languages_url":"https://api.github.com/repos/rfhk/cip-custom/languages","stargazers_url":"https://api.github.com/repos/rfhk/cip-custom/stargazers","contributors_url":"https://api.github.com/repos/rfhk/cip-custom/contributors","subscribers_url":"https://api.github.com/repos/rfhk/cip-custom/subscribers","subscription_url":"https://api.github.com/repos/rfhk/cip-custom/subscription","commits_url":"https://api.github.com/repos/rfhk/cip-custom/commits{/sha}","git_commits_url":"https://api.github.com/repos/rfhk/cip-custom/git/commits{/sha}","comments_url":"https://api.github.com/repos/rfhk/cip-custom/comments{/number}","issue_comment_url":"https://api.github.com/repos/rfhk/cip-custom/issues/comments{/number}","contents_url":"https://api.github.com/repos/rfhk/cip-custom/contents/{+path}","compare_url":"https://api.github.com/repos/rfhk/cip-custom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rfhk/cip-custom/merges","archive_url":"https://api.github.com/repos/rfhk/cip-custom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rfhk/cip-custom/downloads","issues_url":"https://api.github.com/repos/rfhk/cip-custom/issues{/number}","pulls_url":"https://api.github.com/repos/rfhk/cip-custom/pulls{/number}","milestones_url":"https://api.github.com/repos/rfhk/cip-custom/milestones{/number}","notifications_url":"https://api.github.com/repos/rfhk/cip-custom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rfhk/cip-custom/labels{/name}","releases_url":"https://api.github.com/repos/rfhk/cip-custom/releases{/id}","deployments_url":"https://api.github.com/repos/rfhk/cip-custom/deployments","created_at":"2014-08-04T08:15:30Z","updated_at":"2016-12-24T08:42:55Z","pushed_at":"2017-07-31T11:08:49Z","git_url":"git://github.com/rfhk/cip-custom.git","ssh_url":"git@github.com:rfhk/cip-custom.git","clone_url":"https://github.com/rfhk/cip-custom.git","svn_url":"https://github.com/rfhk/cip-custom","homepage":null,"size":4708,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":2,"default_branch":"7.0"}},"_links":{"self":{"href":"https://api.github.com/repos/rfhk/cip-custom/pulls/62"},"html":{"href":"https://github.com/rfhk/cip-custom/pull/62"},"issue":{"href":"https://api.github.com/repos/rfhk/cip-custom/issues/62"},"comments":{"href":"https://api.github.com/repos/rfhk/cip-custom/issues/62/comments"},"review_comments":{"href":"https://api.github.com/repos/rfhk/cip-custom/pulls/62/comments"},"review_comment":{"href":"https://api.github.com/repos/rfhk/cip-custom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rfhk/cip-custom/pulls/62/commits"},"statuses":{"href":"https://api.github.com/repos/rfhk/cip-custom/statuses/d8cf0e8d376a7a93e0d4d1ba137f6549e70f9717"}}}}
{"actor":{"display_login":"yostashiro"}}