{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/manufacture/pulls/comments/41135794","id":41135794,"diff_hunk":"@@ -0,0 +1,14 @@\n+# -*- coding: utf-8 -*-\n+# (c) 2015 Oihane Crucelaegui - AvanzOSC\n+# License AGPL-3 - See http://www.gnu.org/licenses/agpl-3.0.html\n+\n+from openerp import fields, models\n+\n+\n+class ResCompany(models.Model):\n+    _inherit = 'res.company'\n+\n+    active_draft = fields.Boolean(","path":"mrp_bom_version/models/res_company.py","position":11,"original_position":11,"commit_id":"7d9912eb97d76b615b7db795586398a4f3a79cda","original_commit_id":"d2904cf8af3b27f1f0a055f96b28572633b4b222","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":"You do it the load/save methods of the config model. See https://github.com/OCA/server-tools/pull/76/files#diff-30a60a6e49d7e65247cfbf6c6911e349R73 (with the recommendations)","created_at":"2015-10-05T12:04:23Z","updated_at":"2015-10-05T12:04:23Z","html_url":"https://github.com/OCA/manufacture/pull/40#discussion_r41135794","pull_request_url":"https://api.github.com/repos/OCA/manufacture/pulls/40","_links":{"self":{"href":"https://api.github.com/repos/OCA/manufacture/pulls/comments/41135794"},"html":{"href":"https://github.com/OCA/manufacture/pull/40#discussion_r41135794"},"pull_request":{"href":"https://api.github.com/repos/OCA/manufacture/pulls/40"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/manufacture/pulls/40","id":46504381,"html_url":"https://github.com/OCA/manufacture/pull/40","diff_url":"https://github.com/OCA/manufacture/pull/40.diff","patch_url":"https://github.com/OCA/manufacture/pull/40.patch","issue_url":"https://api.github.com/repos/OCA/manufacture/issues/40","number":40,"state":"open","locked":false,"title":"[MIG] mrp_bom_version: migrated from odoomrp-wip","user":{"login":"oihane","id":2323616,"avatar_url":"https://avatars.githubusercontent.com/u/2323616?v=3","gravatar_id":"","url":"https://api.github.com/users/oihane","html_url":"https://github.com/oihane","followers_url":"https://api.github.com/users/oihane/followers","following_url":"https://api.github.com/users/oihane/following{/other_user}","gists_url":"https://api.github.com/users/oihane/gists{/gist_id}","starred_url":"https://api.github.com/users/oihane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oihane/subscriptions","organizations_url":"https://api.github.com/users/oihane/orgs","repos_url":"https://api.github.com/users/oihane/repos","events_url":"https://api.github.com/users/oihane/events{/privacy}","received_events_url":"https://api.github.com/users/oihane/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-01T09:56:22Z","updated_at":"2015-10-05T12:04:23Z","closed_at":null,"merged_at":null,"merge_commit_sha":"941aa12b0c0c81afea46b80e7e3868a98f47bc6e","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/manufacture/pulls/40/commits","review_comments_url":"https://api.github.com/repos/OCA/manufacture/pulls/40/comments","review_comment_url":"https://api.github.com/repos/OCA/manufacture/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/manufacture/issues/40/comments","statuses_url":"https://api.github.com/repos/OCA/manufacture/statuses/7d9912eb97d76b615b7db795586398a4f3a79cda","head":{"label":"odoomrp:8.0-mrp_bom_version","ref":"8.0-mrp_bom_version","sha":"7d9912eb97d76b615b7db795586398a4f3a79cda","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":43489133,"name":"manufacture","full_name":"odoomrp/manufacture","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/manufacture","description":"Odoo Manufacturing Addons","fork":true,"url":"https://api.github.com/repos/odoomrp/manufacture","forks_url":"https://api.github.com/repos/odoomrp/manufacture/forks","keys_url":"https://api.github.com/repos/odoomrp/manufacture/keys{/key_id}","collaborators_url":"https://api.github.com/repos/odoomrp/manufacture/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/odoomrp/manufacture/teams","hooks_url":"https://api.github.com/repos/odoomrp/manufacture/hooks","issue_events_url":"https://api.github.com/repos/odoomrp/manufacture/issues/events{/number}","events_url":"https://api.github.com/repos/odoomrp/manufacture/events","assignees_url":"https://api.github.com/repos/odoomrp/manufacture/assignees{/user}","branches_url":"https://api.github.com/repos/odoomrp/manufacture/branches{/branch}","tags_url":"https://api.github.com/repos/odoomrp/manufacture/tags","blobs_url":"https://api.github.com/repos/odoomrp/manufacture/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/odoomrp/manufacture/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/odoomrp/manufacture/git/refs{/sha}","trees_url":"https://api.github.com/repos/odoomrp/manufacture/git/trees{/sha}","statuses_url":"https://api.github.com/repos/odoomrp/manufacture/statuses/{sha}","languages_url":"https://api.github.com/repos/odoomrp/manufacture/languages","stargazers_url":"https://api.github.com/repos/odoomrp/manufacture/stargazers","contributors_url":"https://api.github.com/repos/odoomrp/manufacture/contributors","subscribers_url":"https://api.github.com/repos/odoomrp/manufacture/subscribers","subscription_url":"https://api.github.com/repos/odoomrp/manufacture/subscription","commits_url":"https://api.github.com/repos/odoomrp/manufacture/commits{/sha}","git_commits_url":"https://api.github.com/repos/odoomrp/manufacture/git/commits{/sha}","comments_url":"https://api.github.com/repos/odoomrp/manufacture/comments{/number}","issue_comment_url":"https://api.github.com/repos/odoomrp/manufacture/issues/comments{/number}","contents_url":"https://api.github.com/repos/odoomrp/manufacture/contents/{+path}","compare_url":"https://api.github.com/repos/odoomrp/manufacture/compare/{base}...{head}","merges_url":"https://api.github.com/repos/odoomrp/manufacture/merges","archive_url":"https://api.github.com/repos/odoomrp/manufacture/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/odoomrp/manufacture/downloads","issues_url":"https://api.github.com/repos/odoomrp/manufacture/issues{/number}","pulls_url":"https://api.github.com/repos/odoomrp/manufacture/pulls{/number}","milestones_url":"https://api.github.com/repos/odoomrp/manufacture/milestones{/number}","notifications_url":"https://api.github.com/repos/odoomrp/manufacture/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/odoomrp/manufacture/labels{/name}","releases_url":"https://api.github.com/repos/odoomrp/manufacture/releases{/id}","created_at":"2015-10-01T09:47:09Z","updated_at":"2015-10-01T09:47:09Z","pushed_at":"2015-10-05T11:55:32Z","git_url":"git://github.com/odoomrp/manufacture.git","ssh_url":"git@github.com:odoomrp/manufacture.git","clone_url":"https://github.com/odoomrp/manufacture.git","svn_url":"https://github.com/odoomrp/manufacture","homepage":"","size":1424,"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":"36315d9123429de7f36143a3d2ce5a9220186fad","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":20894327,"name":"manufacture","full_name":"OCA/manufacture","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/manufacture","description":"Odoo Manufacturing Addons","fork":false,"url":"https://api.github.com/repos/OCA/manufacture","forks_url":"https://api.github.com/repos/OCA/manufacture/forks","keys_url":"https://api.github.com/repos/OCA/manufacture/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/manufacture/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/manufacture/teams","hooks_url":"https://api.github.com/repos/OCA/manufacture/hooks","issue_events_url":"https://api.github.com/repos/OCA/manufacture/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/manufacture/events","assignees_url":"https://api.github.com/repos/OCA/manufacture/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/manufacture/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/manufacture/tags","blobs_url":"https://api.github.com/repos/OCA/manufacture/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/manufacture/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/manufacture/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/manufacture/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/manufacture/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/manufacture/languages","stargazers_url":"https://api.github.com/repos/OCA/manufacture/stargazers","contributors_url":"https://api.github.com/repos/OCA/manufacture/contributors","subscribers_url":"https://api.github.com/repos/OCA/manufacture/subscribers","subscription_url":"https://api.github.com/repos/OCA/manufacture/subscription","commits_url":"https://api.github.com/repos/OCA/manufacture/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/manufacture/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/manufacture/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/manufacture/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/manufacture/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/manufacture/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/manufacture/merges","archive_url":"https://api.github.com/repos/OCA/manufacture/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/manufacture/downloads","issues_url":"https://api.github.com/repos/OCA/manufacture/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/manufacture/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/manufacture/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/manufacture/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/manufacture/labels{/name}","releases_url":"https://api.github.com/repos/OCA/manufacture/releases{/id}","created_at":"2014-06-16T17:48:41Z","updated_at":"2015-09-12T14:17:08Z","pushed_at":"2015-10-05T11:55:33Z","git_url":"git://github.com/OCA/manufacture.git","ssh_url":"git@github.com:OCA/manufacture.git","clone_url":"https://github.com/OCA/manufacture.git","svn_url":"https://github.com/OCA/manufacture","homepage":"","size":1424,"stargazers_count":6,"watchers_count":6,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"open_issues_count":17,"forks":24,"open_issues":17,"watchers":6,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/manufacture/pulls/40"},"html":{"href":"https://github.com/OCA/manufacture/pull/40"},"issue":{"href":"https://api.github.com/repos/OCA/manufacture/issues/40"},"comments":{"href":"https://api.github.com/repos/OCA/manufacture/issues/40/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/manufacture/pulls/40/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/manufacture/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/manufacture/pulls/40/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/manufacture/statuses/7d9912eb97d76b615b7db795586398a4f3a79cda"}}}}