{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/account-invoice-reporting/pulls/comments/35776247","id":35776247,"diff_hunk":"@@ -0,0 +1,71 @@\n+<?xml version=\"1.0\" encoding=\"utf-8\"?>\n+<openerp>\n+  <data>\n+\n+    <!-- Supplier Aging search/filters -->\n+    <record model=\"ir.ui.view\" id=\"view_supplier_aging_search\">\n+      <field name=\"name\">supplier.aging.search</field>\n+      <field name=\"model\">partner.aging.supplier</field>\n+      <field name=\"type\">search</field>\n+      <field name=\"arch\" type=\"xml\">\n+        <search string=\"Supplier Aging\">\n+          <filter string=\"Overdue Only\" name=\"overdue\" help=\"Overdue\" domain=\"[('max_days_overdue','&gt;',0),('total','&gt;',0)]\"/>\n+          <filter string=\"Credits Only\" name=\"credits\" help=\"Show unapplied supplier credits\" domain=\"[('total','&lt;',0)]\" />\n+          <filter string=\"Exclude Credits\" name=\"no_credits\" help=\"Remove unapplied credits\" domain=\"[('total','&gt;',0)]\" />\n+          <field name=\"partner_id\" string=\"Supplier\" />\n+          <field name=\"invoice_id\"/>\n+          <field name=\"invoice_ref\"/>\n+          <field name=\"total\" sum=\"Total\"/>\n+          <group expand=\"0\" string=\"Group By...\">\n+            <filter string=\"Partner\" domain=\"[]\" context=\"{'group_by':'partner_id'}\"/>\n+            <filter string=\"Currency\" domain=\"[]\" context=\"{'group_by':'currency_name'}\"/>\n+          </group>\n+        </search>\n+      </field>\n+    </record>\n+\n+    <!-- Supplier Aging Tree -->\n+    <record model=\"ir.ui.view\" id=\"view_supplier_aging_tree\">\n+      <field name=\"name\">supplier.aging.tree</field>\n+      <field name=\"model\">partner.aging.supplier</field>\n+      <field name=\"type\">tree</field>\n+      <field name=\"arch\" type=\"xml\">\n+        <tree create=\"false\" delete =\"false\" string=\"Aged Payables - Totals\"\n+              colors=\"red:max_days_overdue &gt; 0 and total &gt; 0;\">\n+          <field name=\"total\" invisible=\"1\"/>\n+          <field name=\"partner_id\" string=\"Supplier\"/>\n+          <field name=\"max_days_overdue\"/>\n+          <field name=\"date_due\"/>\n+          <field name=\"invoice_id\"/>\n+          <button name=\"open_invoice\" type=\"object\" icon=\"STOCK_INDEX\" attrs=\"{'invisible':[('invoice_id','=',False)]}\"/>\n+          <field name=\"invoice_ref\"/>\n+          <field name=\"total\" sum=\"Total\"/>\n+          <field name=\"current\" string=\"Current\" sum=\"Total\"/>\n+          <field name=\"days_due_01to30\" sum=\"Total\"/>\n+          <field name=\"days_due_31to60\" sum=\"Total\"/>\n+          <field name=\"days_due_61to90\" sum=\"Total\"/>\n+          <field name=\"days_due_91to120\" sum=\"Total\"/>\n+      <field name=\"days_due_121togr\" sum=\"Total\"/>\n+      <field name=\"currency_name\"/>\n+          <field name=\"comment\"/>\n+        </tree>\n+      </field>\n+    </record>\n+\n+    <!-- Supplier Aging action -->\n+    <record id=\"action_supplier_aging\"\n+            model=\"ir.actions.act_window\">\n+      <field name=\"name\">Supplier Aging</field>\n+      <field name=\"res_model\">partner.aging.supplier</field>\n+      <field name=\"view_type\">form</field>","path":"partner_aging/partner_aging_supplier.xml","position":60,"original_position":60,"commit_id":"97d7a43eef0b6cfcff50e6338d167def26ade1c8","original_commit_id":"97d7a43eef0b6cfcff50e6338d167def26ade1c8","user":{"login":"bwrsandman","id":1013356,"avatar_url":"https://avatars.githubusercontent.com/u/1013356?v=3","gravatar_id":"","url":"https://api.github.com/users/bwrsandman","html_url":"https://github.com/bwrsandman","followers_url":"https://api.github.com/users/bwrsandman/followers","following_url":"https://api.github.com/users/bwrsandman/following{/other_user}","gists_url":"https://api.github.com/users/bwrsandman/gists{/gist_id}","starred_url":"https://api.github.com/users/bwrsandman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwrsandman/subscriptions","organizations_url":"https://api.github.com/users/bwrsandman/orgs","repos_url":"https://api.github.com/users/bwrsandman/repos","events_url":"https://api.github.com/users/bwrsandman/events{/privacy}","received_events_url":"https://api.github.com/users/bwrsandman/received_events","type":"User","site_admin":false},"body":"Why? this is an action. It needs that key.","created_at":"2015-07-29T15:56:50Z","updated_at":"2015-07-29T15:56:50Z","html_url":"https://github.com/OCA/account-invoice-reporting/pull/32#discussion_r35776247","pull_request_url":"https://api.github.com/repos/OCA/account-invoice-reporting/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/OCA/account-invoice-reporting/pulls/comments/35776247"},"html":{"href":"https://github.com/OCA/account-invoice-reporting/pull/32#discussion_r35776247"},"pull_request":{"href":"https://api.github.com/repos/OCA/account-invoice-reporting/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/account-invoice-reporting/pulls/32","id":39275111,"html_url":"https://github.com/OCA/account-invoice-reporting/pull/32","diff_url":"https://github.com/OCA/account-invoice-reporting/pull/32.diff","patch_url":"https://github.com/OCA/account-invoice-reporting/pull/32.patch","issue_url":"https://api.github.com/repos/OCA/account-invoice-reporting/issues/32","number":32,"state":"open","locked":false,"title":"Partner aging","user":{"login":"bwrsandman","id":1013356,"avatar_url":"https://avatars.githubusercontent.com/u/1013356?v=3","gravatar_id":"","url":"https://api.github.com/users/bwrsandman","html_url":"https://github.com/bwrsandman","followers_url":"https://api.github.com/users/bwrsandman/followers","following_url":"https://api.github.com/users/bwrsandman/following{/other_user}","gists_url":"https://api.github.com/users/bwrsandman/gists{/gist_id}","starred_url":"https://api.github.com/users/bwrsandman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bwrsandman/subscriptions","organizations_url":"https://api.github.com/users/bwrsandman/orgs","repos_url":"https://api.github.com/users/bwrsandman/repos","events_url":"https://api.github.com/users/bwrsandman/events{/privacy}","received_events_url":"https://api.github.com/users/bwrsandman/received_events","type":"User","site_admin":false},"body":"Split of #24 ","created_at":"2015-07-06T14:46:53Z","updated_at":"2015-07-29T15:56:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5724cffad789d5959bd649beaa7097d75b6262bb","assignee":null,"milestone":{"url":"https://api.github.com/repos/OCA/account-invoice-reporting/milestones/2","html_url":"https://github.com/OCA/account-invoice-reporting/milestones/7.0","labels_url":"https://api.github.com/repos/OCA/account-invoice-reporting/milestones/2/labels","id":1194795,"number":2,"title":"7.0","description":"","creator":{"login":"max3903","id":939952,"avatar_url":"https://avatars.githubusercontent.com/u/939952?v=3","gravatar_id":"","url":"https://api.github.com/users/max3903","html_url":"https://github.com/max3903","followers_url":"https://api.github.com/users/max3903/followers","following_url":"https://api.github.com/users/max3903/following{/other_user}","gists_url":"https://api.github.com/users/max3903/gists{/gist_id}","starred_url":"https://api.github.com/users/max3903/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max3903/subscriptions","organizations_url":"https://api.github.com/users/max3903/orgs","repos_url":"https://api.github.com/users/max3903/repos","events_url":"https://api.github.com/users/max3903/events{/privacy}","received_events_url":"https://api.github.com/users/max3903/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":1,"state":"open","created_at":"2015-07-06T13:21:26Z","updated_at":"2015-07-28T21:38:58Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/OCA/account-invoice-reporting/pulls/32/commits","review_comments_url":"https://api.github.com/repos/OCA/account-invoice-reporting/pulls/32/comments","review_comment_url":"https://api.github.com/repos/OCA/account-invoice-reporting/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/account-invoice-reporting/issues/32/comments","statuses_url":"https://api.github.com/repos/OCA/account-invoice-reporting/statuses/97d7a43eef0b6cfcff50e6338d167def26ade1c8","head":{"label":"savoirfairelinux:partner_aging","ref":"partner_aging","sha":"97d7a43eef0b6cfcff50e6338d167def26ade1c8","user":{"login":"savoirfairelinux","id":2735545,"avatar_url":"https://avatars.githubusercontent.com/u/2735545?v=3","gravatar_id":"","url":"https://api.github.com/users/savoirfairelinux","html_url":"https://github.com/savoirfairelinux","followers_url":"https://api.github.com/users/savoirfairelinux/followers","following_url":"https://api.github.com/users/savoirfairelinux/following{/other_user}","gists_url":"https://api.github.com/users/savoirfairelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/savoirfairelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savoirfairelinux/subscriptions","organizations_url":"https://api.github.com/users/savoirfairelinux/orgs","repos_url":"https://api.github.com/users/savoirfairelinux/repos","events_url":"https://api.github.com/users/savoirfairelinux/events{/privacy}","received_events_url":"https://api.github.com/users/savoirfairelinux/received_events","type":"Organization","site_admin":false},"repo":{"id":23888672,"name":"account-invoice-reporting","full_name":"savoirfairelinux/account-invoice-reporting","owner":{"login":"savoirfairelinux","id":2735545,"avatar_url":"https://avatars.githubusercontent.com/u/2735545?v=3","gravatar_id":"","url":"https://api.github.com/users/savoirfairelinux","html_url":"https://github.com/savoirfairelinux","followers_url":"https://api.github.com/users/savoirfairelinux/followers","following_url":"https://api.github.com/users/savoirfairelinux/following{/other_user}","gists_url":"https://api.github.com/users/savoirfairelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/savoirfairelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savoirfairelinux/subscriptions","organizations_url":"https://api.github.com/users/savoirfairelinux/orgs","repos_url":"https://api.github.com/users/savoirfairelinux/repos","events_url":"https://api.github.com/users/savoirfairelinux/events{/privacy}","received_events_url":"https://api.github.com/users/savoirfairelinux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/savoirfairelinux/account-invoice-reporting","description":"","fork":true,"url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting","forks_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/forks","keys_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/teams","hooks_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/hooks","issue_events_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/issues/events{/number}","events_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/events","assignees_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/assignees{/user}","branches_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/branches{/branch}","tags_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/tags","blobs_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/git/refs{/sha}","trees_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/statuses/{sha}","languages_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/languages","stargazers_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/stargazers","contributors_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/contributors","subscribers_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/subscribers","subscription_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/subscription","commits_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/commits{/sha}","git_commits_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/git/commits{/sha}","comments_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/comments{/number}","issue_comment_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/issues/comments{/number}","contents_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/contents/{+path}","compare_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/merges","archive_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/downloads","issues_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/issues{/number}","pulls_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/pulls{/number}","milestones_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/milestones{/number}","notifications_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/labels{/name}","releases_url":"https://api.github.com/repos/savoirfairelinux/account-invoice-reporting/releases{/id}","created_at":"2014-09-10T19:22:13Z","updated_at":"2014-07-14T09:23:48Z","pushed_at":"2015-07-28T21:03:55Z","git_url":"git://github.com/savoirfairelinux/account-invoice-reporting.git","ssh_url":"git@github.com:savoirfairelinux/account-invoice-reporting.git","clone_url":"https://github.com/savoirfairelinux/account-invoice-reporting.git","svn_url":"https://github.com/savoirfairelinux/account-invoice-reporting","homepage":null,"size":4099,"stargazers_count":0,"watchers_count":0,"language":null,"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:7.0","ref":"7.0","sha":"1235f53595ba8fd4d2f72d08ce1a215ac8597acc","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":20881793,"name":"account-invoice-reporting","full_name":"OCA/account-invoice-reporting","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-invoice-reporting","description":"Odoo Invoicing reports","fork":false,"url":"https://api.github.com/repos/OCA/account-invoice-reporting","forks_url":"https://api.github.com/repos/OCA/account-invoice-reporting/forks","keys_url":"https://api.github.com/repos/OCA/account-invoice-reporting/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/account-invoice-reporting/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/account-invoice-reporting/teams","hooks_url":"https://api.github.com/repos/OCA/account-invoice-reporting/hooks","issue_events_url":"https://api.github.com/repos/OCA/account-invoice-reporting/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/account-invoice-reporting/events","assignees_url":"https://api.github.com/repos/OCA/account-invoice-reporting/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/account-invoice-reporting/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/account-invoice-reporting/tags","blobs_url":"https://api.github.com/repos/OCA/account-invoice-reporting/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/account-invoice-reporting/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/account-invoice-reporting/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/account-invoice-reporting/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/account-invoice-reporting/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/account-invoice-reporting/languages","stargazers_url":"https://api.github.com/repos/OCA/account-invoice-reporting/stargazers","contributors_url":"https://api.github.com/repos/OCA/account-invoice-reporting/contributors","subscribers_url":"https://api.github.com/repos/OCA/account-invoice-reporting/subscribers","subscription_url":"https://api.github.com/repos/OCA/account-invoice-reporting/subscription","commits_url":"https://api.github.com/repos/OCA/account-invoice-reporting/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/account-invoice-reporting/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/account-invoice-reporting/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/account-invoice-reporting/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/account-invoice-reporting/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/account-invoice-reporting/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/account-invoice-reporting/merges","archive_url":"https://api.github.com/repos/OCA/account-invoice-reporting/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/account-invoice-reporting/downloads","issues_url":"https://api.github.com/repos/OCA/account-invoice-reporting/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/account-invoice-reporting/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/account-invoice-reporting/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/account-invoice-reporting/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/account-invoice-reporting/labels{/name}","releases_url":"https://api.github.com/repos/OCA/account-invoice-reporting/releases{/id}","created_at":"2014-06-16T11:00:20Z","updated_at":"2015-05-06T19:50:10Z","pushed_at":"2015-07-29T06:58:30Z","git_url":"git://github.com/OCA/account-invoice-reporting.git","ssh_url":"git@github.com:OCA/account-invoice-reporting.git","clone_url":"https://github.com/OCA/account-invoice-reporting.git","svn_url":"https://github.com/OCA/account-invoice-reporting","homepage":"","size":3993,"stargazers_count":5,"watchers_count":5,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":25,"mirror_url":null,"open_issues_count":16,"forks":25,"open_issues":16,"watchers":5,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/account-invoice-reporting/pulls/32"},"html":{"href":"https://github.com/OCA/account-invoice-reporting/pull/32"},"issue":{"href":"https://api.github.com/repos/OCA/account-invoice-reporting/issues/32"},"comments":{"href":"https://api.github.com/repos/OCA/account-invoice-reporting/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/account-invoice-reporting/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/account-invoice-reporting/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/account-invoice-reporting/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/account-invoice-reporting/statuses/97d7a43eef0b6cfcff50e6338d167def26ade1c8"}}}}