{"action":"created","comment":{"url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/comments/23076382","id":23076382,"diff_hunk":"@@ -0,0 +1,36 @@\n+# -*- coding: utf-8 -*-\n+##############################################################################\n+# For copyright and license notices, see __openerp__.py file in root directory\n+##############################################################################\n+from openerp import models, fields, api, _\n+\n+\n+class QcInspection(models.Model):\n+    _inherit = 'qc.inspection'\n+\n+    automatic_claims = fields.Boolean('Automatic Claims', default=False)\n+    claims = fields.One2many(\n+        comodel_name='crm.claim', inverse_name='inspection_id',\n+        string='Claims')\n+\n+    @api.multi\n+    def set_test(self, test, force_fill=False):\n+        super(QcInspection, self).set_test(test, force_fill)\n+        for inspection in self:","path":"quality_claim_link/models/qc_inspection.py","position":19,"original_position":19,"commit_id":"ccffe80eff02c3f93826b5b0f5e6348406df969b","original_commit_id":"ccffe80eff02c3f93826b5b0f5e6348406df969b","user":{"login":"pedrobaeza","id":7165771,"avatar_url":"https://avatars.githubusercontent.com/u/7165771?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrobaeza","html_url":"https://github.com/pedrobaeza","followers_url":"https://api.github.com/users/pedrobaeza/followers","following_url":"https://api.github.com/users/pedrobaeza/following{/other_user}","gists_url":"https://api.github.com/users/pedrobaeza/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrobaeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrobaeza/subscriptions","organizations_url":"https://api.github.com/users/pedrobaeza/orgs","repos_url":"https://api.github.com/users/pedrobaeza/repos","events_url":"https://api.github.com/users/pedrobaeza/events{/privacy}","received_events_url":"https://api.github.com/users/pedrobaeza/received_events","type":"User","site_admin":false},"body":"Debes sobreescribir el método `_prepare_inspection_header`, porque es el que se utiliza cuando se crean los tests automáticos. Voy ahora a cambiar quality_control para que `set_test` también llame a este método.","created_at":"2015-01-16T11:55:09Z","updated_at":"2015-01-16T11:55:09Z","html_url":"https://github.com/odoomrp/odoomrp-wip/pull/551#discussion_r23076382","pull_request_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/551","_links":{"self":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/comments/23076382"},"html":{"href":"https://github.com/odoomrp/odoomrp-wip/pull/551#discussion_r23076382"},"pull_request":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/551"}}},"pull_request":{"url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/551","id":27190147,"html_url":"https://github.com/odoomrp/odoomrp-wip/pull/551","diff_url":"https://github.com/odoomrp/odoomrp-wip/pull/551.diff","patch_url":"https://github.com/odoomrp/odoomrp-wip/pull/551.patch","issue_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/551","number":551,"state":"open","locked":false,"title":"[NEW quality_claim_link]","user":{"login":"alfredoavanzosc","id":8257820,"avatar_url":"https://avatars.githubusercontent.com/u/8257820?v=3","gravatar_id":"","url":"https://api.github.com/users/alfredoavanzosc","html_url":"https://github.com/alfredoavanzosc","followers_url":"https://api.github.com/users/alfredoavanzosc/followers","following_url":"https://api.github.com/users/alfredoavanzosc/following{/other_user}","gists_url":"https://api.github.com/users/alfredoavanzosc/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredoavanzosc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredoavanzosc/subscriptions","organizations_url":"https://api.github.com/users/alfredoavanzosc/orgs","repos_url":"https://api.github.com/users/alfredoavanzosc/repos","events_url":"https://api.github.com/users/alfredoavanzosc/events{/privacy}","received_events_url":"https://api.github.com/users/alfredoavanzosc/received_events","type":"User","site_admin":false},"body":"Nuevo módulo para crear una reclamación desde test de calidad.","created_at":"2015-01-12T12:17:38Z","updated_at":"2015-01-16T11:55:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"89265d2b76c9d09a672fab4aa8c6cd76795709f3","assignee":{"login":"pedrobaeza","id":7165771,"avatar_url":"https://avatars.githubusercontent.com/u/7165771?v=3","gravatar_id":"","url":"https://api.github.com/users/pedrobaeza","html_url":"https://github.com/pedrobaeza","followers_url":"https://api.github.com/users/pedrobaeza/followers","following_url":"https://api.github.com/users/pedrobaeza/following{/other_user}","gists_url":"https://api.github.com/users/pedrobaeza/gists{/gist_id}","starred_url":"https://api.github.com/users/pedrobaeza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pedrobaeza/subscriptions","organizations_url":"https://api.github.com/users/pedrobaeza/orgs","repos_url":"https://api.github.com/users/pedrobaeza/repos","events_url":"https://api.github.com/users/pedrobaeza/events{/privacy}","received_events_url":"https://api.github.com/users/pedrobaeza/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/551/commits","review_comments_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/551/comments","review_comment_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/comments/{number}","comments_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/551/comments","statuses_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/statuses/ccffe80eff02c3f93826b5b0f5e6348406df969b","head":{"label":"alfredoavanzosc:odoomrp-quality_claim_link","ref":"odoomrp-quality_claim_link","sha":"ccffe80eff02c3f93826b5b0f5e6348406df969b","user":{"login":"alfredoavanzosc","id":8257820,"avatar_url":"https://avatars.githubusercontent.com/u/8257820?v=3","gravatar_id":"","url":"https://api.github.com/users/alfredoavanzosc","html_url":"https://github.com/alfredoavanzosc","followers_url":"https://api.github.com/users/alfredoavanzosc/followers","following_url":"https://api.github.com/users/alfredoavanzosc/following{/other_user}","gists_url":"https://api.github.com/users/alfredoavanzosc/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredoavanzosc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredoavanzosc/subscriptions","organizations_url":"https://api.github.com/users/alfredoavanzosc/orgs","repos_url":"https://api.github.com/users/alfredoavanzosc/repos","events_url":"https://api.github.com/users/alfredoavanzosc/events{/privacy}","received_events_url":"https://api.github.com/users/alfredoavanzosc/received_events","type":"User","site_admin":false},"repo":{"id":24589331,"name":"odoomrp-wip-1","full_name":"alfredoavanzosc/odoomrp-wip-1","owner":{"login":"alfredoavanzosc","id":8257820,"avatar_url":"https://avatars.githubusercontent.com/u/8257820?v=3","gravatar_id":"","url":"https://api.github.com/users/alfredoavanzosc","html_url":"https://github.com/alfredoavanzosc","followers_url":"https://api.github.com/users/alfredoavanzosc/followers","following_url":"https://api.github.com/users/alfredoavanzosc/following{/other_user}","gists_url":"https://api.github.com/users/alfredoavanzosc/gists{/gist_id}","starred_url":"https://api.github.com/users/alfredoavanzosc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alfredoavanzosc/subscriptions","organizations_url":"https://api.github.com/users/alfredoavanzosc/orgs","repos_url":"https://api.github.com/users/alfredoavanzosc/repos","events_url":"https://api.github.com/users/alfredoavanzosc/events{/privacy}","received_events_url":"https://api.github.com/users/alfredoavanzosc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alfredoavanzosc/odoomrp-wip-1","description":"WIP of OdooMRP","fork":true,"url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1","forks_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/forks","keys_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/teams","hooks_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/hooks","issue_events_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/issues/events{/number}","events_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/events","assignees_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/assignees{/user}","branches_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/branches{/branch}","tags_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/tags","blobs_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/statuses/{sha}","languages_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/languages","stargazers_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/stargazers","contributors_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/contributors","subscribers_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/subscribers","subscription_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/subscription","commits_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/issues/comments/{number}","contents_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/contents/{+path}","compare_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/merges","archive_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/downloads","issues_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/issues{/number}","pulls_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/pulls{/number}","milestones_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/milestones{/number}","notifications_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/labels{/name}","releases_url":"https://api.github.com/repos/alfredoavanzosc/odoomrp-wip-1/releases{/id}","created_at":"2014-09-29T10:00:12Z","updated_at":"2014-09-29T06:45:10Z","pushed_at":"2015-01-16T11:14:46Z","git_url":"git://github.com/alfredoavanzosc/odoomrp-wip-1.git","ssh_url":"git@github.com:alfredoavanzosc/odoomrp-wip-1.git","clone_url":"https://github.com/alfredoavanzosc/odoomrp-wip-1.git","svn_url":"https://github.com/alfredoavanzosc/odoomrp-wip-1","homepage":"http://www.odoomrp.com","size":3164,"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":"odoomrp:8.0","ref":"8.0","sha":"f149a365a5f45030064d64e3ae1ff400893126f3","user":{"login":"odoomrp","id":7858947,"avatar_url":"https://avatars.githubusercontent.com/u/7858947?v=3","gravatar_id":"","url":"https://api.github.com/users/odoomrp","html_url":"https://github.com/odoomrp","followers_url":"https://api.github.com/users/odoomrp/followers","following_url":"https://api.github.com/users/odoomrp/following{/other_user}","gists_url":"https://api.github.com/users/odoomrp/gists{/gist_id}","starred_url":"https://api.github.com/users/odoomrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoomrp/subscriptions","organizations_url":"https://api.github.com/users/odoomrp/orgs","repos_url":"https://api.github.com/users/odoomrp/repos","events_url":"https://api.github.com/users/odoomrp/events{/privacy}","received_events_url":"https://api.github.com/users/odoomrp/received_events","type":"Organization","site_admin":false},"repo":{"id":22124768,"name":"odoomrp-wip","full_name":"odoomrp/odoomrp-wip","owner":{"login":"odoomrp","id":7858947,"avatar_url":"https://avatars.githubusercontent.com/u/7858947?v=3","gravatar_id":"","url":"https://api.github.com/users/odoomrp","html_url":"https://github.com/odoomrp","followers_url":"https://api.github.com/users/odoomrp/followers","following_url":"https://api.github.com/users/odoomrp/following{/other_user}","gists_url":"https://api.github.com/users/odoomrp/gists{/gist_id}","starred_url":"https://api.github.com/users/odoomrp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/odoomrp/subscriptions","organizations_url":"https://api.github.com/users/odoomrp/orgs","repos_url":"https://api.github.com/users/odoomrp/repos","events_url":"https://api.github.com/users/odoomrp/events{/privacy}","received_events_url":"https://api.github.com/users/odoomrp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/odoomrp/odoomrp-wip","description":"WIP of OdooMRP","fork":false,"url":"https://api.github.com/repos/odoomrp/odoomrp-wip","forks_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/forks","keys_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/teams","hooks_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/hooks","issue_events_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/events{/number}","events_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/events","assignees_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/assignees{/user}","branches_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/branches{/branch}","tags_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/tags","blobs_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/statuses/{sha}","languages_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/languages","stargazers_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/stargazers","contributors_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/contributors","subscribers_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/subscribers","subscription_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/subscription","commits_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/comments/{number}","contents_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/contents/{+path}","compare_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/merges","archive_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/downloads","issues_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues{/number}","pulls_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls{/number}","milestones_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/milestones{/number}","notifications_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/labels{/name}","releases_url":"https://api.github.com/repos/odoomrp/odoomrp-wip/releases{/id}","created_at":"2014-07-22T23:29:59Z","updated_at":"2015-01-16T10:23:10Z","pushed_at":"2015-01-16T10:23:09Z","git_url":"git://github.com/odoomrp/odoomrp-wip.git","ssh_url":"git@github.com:odoomrp/odoomrp-wip.git","clone_url":"https://github.com/odoomrp/odoomrp-wip.git","svn_url":"https://github.com/odoomrp/odoomrp-wip","homepage":"http://www.odoomrp.com","size":6405,"stargazers_count":21,"watchers_count":21,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":44,"forks":28,"open_issues":44,"watchers":21,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/551"},"html":{"href":"https://github.com/odoomrp/odoomrp-wip/pull/551"},"issue":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/551"},"comments":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/issues/551/comments"},"review_comments":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/551/comments"},"review_comment":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/pulls/551/commits"},"statuses":{"href":"https://api.github.com/repos/odoomrp/odoomrp-wip/statuses/ccffe80eff02c3f93826b5b0f5e6348406df969b"}}}}