{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/report-print-send/pulls/comments/23213774","id":23213774,"diff_hunk":"@@ -0,0 +1,32 @@\n+# -*- coding: utf-8 -*-\n+##############################################################################\n+#\n+#    Author: Yannick Vaucher\n+#    Copyright 2013 Camptocamp SA\n+#\n+#    This program is free software: you can redistribute it and/or modify\n+#    it under the terms of the GNU Affero General Public License as\n+#    published by the Free Software Foundation, either version 3 of the\n+#    License, or (at your option) any later version.\n+#\n+#    This program is distributed in the hope that it will be useful,\n+#    but WITHOUT ANY WARRANTY; without even the implied warranty of\n+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+#    GNU Affero General Public License for more details.\n+#\n+#    You should have received a copy of the GNU Affero General Public License\n+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.\n+#\n+##############################################################################\n+from openerp import models, fields\n+\n+\n+class IrActionsReportXml(models.Model):\n+\n+    _inherit = 'ir.actions.report.xml'\n+\n+    printer_tray_id = fields.Many2one(","path":"printer_tray/ir_report.py","position":28,"original_position":28,"commit_id":"cfdfc8e3a27de9a9b2bd9bfefc092068361470f7","original_commit_id":"80b734b3d9a37f6f17f1e3d6db0ee715a2142de4","user":{"login":"guewen","id":417223,"avatar_url":"https://avatars.githubusercontent.com/u/417223?v=3","gravatar_id":"","url":"https://api.github.com/users/guewen","html_url":"https://github.com/guewen","followers_url":"https://api.github.com/users/guewen/followers","following_url":"https://api.github.com/users/guewen/following{/other_user}","gists_url":"https://api.github.com/users/guewen/gists{/gist_id}","starred_url":"https://api.github.com/users/guewen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guewen/subscriptions","organizations_url":"https://api.github.com/users/guewen/orgs","repos_url":"https://api.github.com/users/guewen/repos","events_url":"https://api.github.com/users/guewen/events{/privacy}","received_events_url":"https://api.github.com/users/guewen/received_events","type":"User","site_admin":false},"body":"That's right. I'm just searching a bit, I have a tray that is called \"Auto\" so it could be selected but I'm not sure if I have a proper way to identify it (perhaps it is always called \"Auto\"?)","created_at":"2015-01-20T10:36:29Z","updated_at":"2015-01-20T10:36:29Z","html_url":"https://github.com/OCA/report-print-send/pull/13#discussion_r23213774","pull_request_url":"https://api.github.com/repos/OCA/report-print-send/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/OCA/report-print-send/pulls/comments/23213774"},"html":{"href":"https://github.com/OCA/report-print-send/pull/13#discussion_r23213774"},"pull_request":{"href":"https://api.github.com/repos/OCA/report-print-send/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/report-print-send/pulls/13","id":24532929,"html_url":"https://github.com/OCA/report-print-send/pull/13","diff_url":"https://github.com/OCA/report-print-send/pull/13.diff","patch_url":"https://github.com/OCA/report-print-send/pull/13.patch","issue_url":"https://api.github.com/repos/OCA/report-print-send/issues/13","number":13,"state":"open","locked":false,"title":"Migration of printer_tray to 8.0","user":{"login":"guewen","id":417223,"avatar_url":"https://avatars.githubusercontent.com/u/417223?v=3","gravatar_id":"","url":"https://api.github.com/users/guewen","html_url":"https://github.com/guewen","followers_url":"https://api.github.com/users/guewen/followers","following_url":"https://api.github.com/users/guewen/following{/other_user}","gists_url":"https://api.github.com/users/guewen/gists{/gist_id}","starred_url":"https://api.github.com/users/guewen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guewen/subscriptions","organizations_url":"https://api.github.com/users/guewen/orgs","repos_url":"https://api.github.com/users/guewen/repos","events_url":"https://api.github.com/users/guewen/events{/privacy}","received_events_url":"https://api.github.com/users/guewen/received_events","type":"User","site_admin":false},"body":"Migrated the module `printer_tray`.","created_at":"2014-11-17T12:43:42Z","updated_at":"2015-01-20T10:36:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c5375d162034a6d0469acedf636695f259231018","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/report-print-send/pulls/13/commits","review_comments_url":"https://api.github.com/repos/OCA/report-print-send/pulls/13/comments","review_comment_url":"https://api.github.com/repos/OCA/report-print-send/pulls/comments/{number}","comments_url":"https://api.github.com/repos/OCA/report-print-send/issues/13/comments","statuses_url":"https://api.github.com/repos/OCA/report-print-send/statuses/cfdfc8e3a27de9a9b2bd9bfefc092068361470f7","head":{"label":"guewen:8.0-printer_tray-migr","ref":"8.0-printer_tray-migr","sha":"cfdfc8e3a27de9a9b2bd9bfefc092068361470f7","user":{"login":"guewen","id":417223,"avatar_url":"https://avatars.githubusercontent.com/u/417223?v=3","gravatar_id":"","url":"https://api.github.com/users/guewen","html_url":"https://github.com/guewen","followers_url":"https://api.github.com/users/guewen/followers","following_url":"https://api.github.com/users/guewen/following{/other_user}","gists_url":"https://api.github.com/users/guewen/gists{/gist_id}","starred_url":"https://api.github.com/users/guewen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guewen/subscriptions","organizations_url":"https://api.github.com/users/guewen/orgs","repos_url":"https://api.github.com/users/guewen/repos","events_url":"https://api.github.com/users/guewen/events{/privacy}","received_events_url":"https://api.github.com/users/guewen/received_events","type":"User","site_admin":false},"repo":{"id":26162164,"name":"report-print-send","full_name":"guewen/report-print-send","owner":{"login":"guewen","id":417223,"avatar_url":"https://avatars.githubusercontent.com/u/417223?v=3","gravatar_id":"","url":"https://api.github.com/users/guewen","html_url":"https://github.com/guewen","followers_url":"https://api.github.com/users/guewen/followers","following_url":"https://api.github.com/users/guewen/following{/other_user}","gists_url":"https://api.github.com/users/guewen/gists{/gist_id}","starred_url":"https://api.github.com/users/guewen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guewen/subscriptions","organizations_url":"https://api.github.com/users/guewen/orgs","repos_url":"https://api.github.com/users/guewen/repos","events_url":"https://api.github.com/users/guewen/events{/privacy}","received_events_url":"https://api.github.com/users/guewen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/guewen/report-print-send","description":"","fork":true,"url":"https://api.github.com/repos/guewen/report-print-send","forks_url":"https://api.github.com/repos/guewen/report-print-send/forks","keys_url":"https://api.github.com/repos/guewen/report-print-send/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guewen/report-print-send/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guewen/report-print-send/teams","hooks_url":"https://api.github.com/repos/guewen/report-print-send/hooks","issue_events_url":"https://api.github.com/repos/guewen/report-print-send/issues/events{/number}","events_url":"https://api.github.com/repos/guewen/report-print-send/events","assignees_url":"https://api.github.com/repos/guewen/report-print-send/assignees{/user}","branches_url":"https://api.github.com/repos/guewen/report-print-send/branches{/branch}","tags_url":"https://api.github.com/repos/guewen/report-print-send/tags","blobs_url":"https://api.github.com/repos/guewen/report-print-send/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guewen/report-print-send/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guewen/report-print-send/git/refs{/sha}","trees_url":"https://api.github.com/repos/guewen/report-print-send/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guewen/report-print-send/statuses/{sha}","languages_url":"https://api.github.com/repos/guewen/report-print-send/languages","stargazers_url":"https://api.github.com/repos/guewen/report-print-send/stargazers","contributors_url":"https://api.github.com/repos/guewen/report-print-send/contributors","subscribers_url":"https://api.github.com/repos/guewen/report-print-send/subscribers","subscription_url":"https://api.github.com/repos/guewen/report-print-send/subscription","commits_url":"https://api.github.com/repos/guewen/report-print-send/commits{/sha}","git_commits_url":"https://api.github.com/repos/guewen/report-print-send/git/commits{/sha}","comments_url":"https://api.github.com/repos/guewen/report-print-send/comments{/number}","issue_comment_url":"https://api.github.com/repos/guewen/report-print-send/issues/comments/{number}","contents_url":"https://api.github.com/repos/guewen/report-print-send/contents/{+path}","compare_url":"https://api.github.com/repos/guewen/report-print-send/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guewen/report-print-send/merges","archive_url":"https://api.github.com/repos/guewen/report-print-send/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guewen/report-print-send/downloads","issues_url":"https://api.github.com/repos/guewen/report-print-send/issues{/number}","pulls_url":"https://api.github.com/repos/guewen/report-print-send/pulls{/number}","milestones_url":"https://api.github.com/repos/guewen/report-print-send/milestones{/number}","notifications_url":"https://api.github.com/repos/guewen/report-print-send/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guewen/report-print-send/labels{/name}","releases_url":"https://api.github.com/repos/guewen/report-print-send/releases{/id}","created_at":"2014-11-04T09:32:55Z","updated_at":"2014-07-14T09:38:59Z","pushed_at":"2015-01-20T10:00:59Z","git_url":"git://github.com/guewen/report-print-send.git","ssh_url":"git@github.com:guewen/report-print-send.git","clone_url":"https://github.com/guewen/report-print-send.git","svn_url":"https://github.com/guewen/report-print-send","homepage":null,"size":477,"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":"master"}},"base":{"label":"OCA:8.0","ref":"8.0","sha":"31c61a81536016e5c03d84fda4ecaa1d9d2c2b8d","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":20896324,"name":"report-print-send","full_name":"OCA/report-print-send","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/report-print-send","description":"","fork":false,"url":"https://api.github.com/repos/OCA/report-print-send","forks_url":"https://api.github.com/repos/OCA/report-print-send/forks","keys_url":"https://api.github.com/repos/OCA/report-print-send/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/report-print-send/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/report-print-send/teams","hooks_url":"https://api.github.com/repos/OCA/report-print-send/hooks","issue_events_url":"https://api.github.com/repos/OCA/report-print-send/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/report-print-send/events","assignees_url":"https://api.github.com/repos/OCA/report-print-send/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/report-print-send/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/report-print-send/tags","blobs_url":"https://api.github.com/repos/OCA/report-print-send/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/report-print-send/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/report-print-send/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/report-print-send/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/report-print-send/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/report-print-send/languages","stargazers_url":"https://api.github.com/repos/OCA/report-print-send/stargazers","contributors_url":"https://api.github.com/repos/OCA/report-print-send/contributors","subscribers_url":"https://api.github.com/repos/OCA/report-print-send/subscribers","subscription_url":"https://api.github.com/repos/OCA/report-print-send/subscription","commits_url":"https://api.github.com/repos/OCA/report-print-send/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/report-print-send/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/report-print-send/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/report-print-send/issues/comments/{number}","contents_url":"https://api.github.com/repos/OCA/report-print-send/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/report-print-send/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/report-print-send/merges","archive_url":"https://api.github.com/repos/OCA/report-print-send/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/report-print-send/downloads","issues_url":"https://api.github.com/repos/OCA/report-print-send/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/report-print-send/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/report-print-send/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/report-print-send/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/report-print-send/labels{/name}","releases_url":"https://api.github.com/repos/OCA/report-print-send/releases{/id}","created_at":"2014-06-16T18:47:24Z","updated_at":"2015-01-15T09:26:43Z","pushed_at":"2015-01-15T09:26:42Z","git_url":"git://github.com/OCA/report-print-send.git","ssh_url":"git@github.com:OCA/report-print-send.git","clone_url":"https://github.com/OCA/report-print-send.git","svn_url":"https://github.com/OCA/report-print-send","homepage":null,"size":663,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"open_issues_count":3,"forks":14,"open_issues":3,"watchers":4,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/report-print-send/pulls/13"},"html":{"href":"https://github.com/OCA/report-print-send/pull/13"},"issue":{"href":"https://api.github.com/repos/OCA/report-print-send/issues/13"},"comments":{"href":"https://api.github.com/repos/OCA/report-print-send/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/report-print-send/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/report-print-send/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/OCA/report-print-send/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/report-print-send/statuses/cfdfc8e3a27de9a9b2bd9bfefc092068361470f7"}}}}