{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/crm/pulls/comments/195658662","pull_request_review_id":129071070,"id":195658662,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NTY1ODY2Mg==","diff_hunk":"@@ -0,0 +1,18 @@\n+# -*- coding: utf-8 -*-\n+# Copyright 2018 Camptocamp SA\n+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl).\n+from odoo import models, api, fields\n+\n+\n+class CrmOpportunityCreateProject(models.TransientModel):\n+\n+    _inherit = 'crm.lead2opportunity.partner'\n+    _name = 'crm.opportunity.create.project'\n+\n+    @api.multi\n+    def action_create_project(self):\n+        self.ensure_one()\n+        leads = self.env['crm.lead'].browse(\n+            self._context.get('active_ids', []))","path":"crm_lead_project/wizard/crm_opportunity_create_project.py","position":16,"original_position":16,"commit_id":"3bbda92e088837cf4909a8328a1eca1ae654c9a6","original_commit_id":"3e79976d49731e8a4328de89479c8077243effa1","user":{"login":"simahawk","id":347149,"node_id":"MDQ6VXNlcjM0NzE0OQ==","avatar_url":"https://avatars2.githubusercontent.com/u/347149?v=4","gravatar_id":"","url":"https://api.github.com/users/simahawk","html_url":"https://github.com/simahawk","followers_url":"https://api.github.com/users/simahawk/followers","following_url":"https://api.github.com/users/simahawk/following{/other_user}","gists_url":"https://api.github.com/users/simahawk/gists{/gist_id}","starred_url":"https://api.github.com/users/simahawk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simahawk/subscriptions","organizations_url":"https://api.github.com/users/simahawk/orgs","repos_url":"https://api.github.com/users/simahawk/repos","events_url":"https://api.github.com/users/simahawk/events{/privacy}","received_events_url":"https://api.github.com/users/simahawk/received_events","type":"User","site_admin":false},"body":"self.env.context","created_at":"2018-06-15T08:01:31Z","updated_at":"2018-06-15T08:02:08Z","html_url":"https://github.com/OCA/crm/pull/205#discussion_r195658662","pull_request_url":"https://api.github.com/repos/OCA/crm/pulls/205","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/OCA/crm/pulls/comments/195658662"},"html":{"href":"https://github.com/OCA/crm/pull/205#discussion_r195658662"},"pull_request":{"href":"https://api.github.com/repos/OCA/crm/pulls/205"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/crm/pulls/205","id":193667113,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzNjY3MTEz","html_url":"https://github.com/OCA/crm/pull/205","diff_url":"https://github.com/OCA/crm/pull/205.diff","patch_url":"https://github.com/OCA/crm/pull/205.patch","issue_url":"https://api.github.com/repos/OCA/crm/issues/205","number":205,"state":"open","locked":false,"title":"[10.0] Create module crm_lead_project","user":{"login":"grindtildeath","id":778828,"node_id":"MDQ6VXNlcjc3ODgyOA==","avatar_url":"https://avatars3.githubusercontent.com/u/778828?v=4","gravatar_id":"","url":"https://api.github.com/users/grindtildeath","html_url":"https://github.com/grindtildeath","followers_url":"https://api.github.com/users/grindtildeath/followers","following_url":"https://api.github.com/users/grindtildeath/following{/other_user}","gists_url":"https://api.github.com/users/grindtildeath/gists{/gist_id}","starred_url":"https://api.github.com/users/grindtildeath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grindtildeath/subscriptions","organizations_url":"https://api.github.com/users/grindtildeath/orgs","repos_url":"https://api.github.com/users/grindtildeath/repos","events_url":"https://api.github.com/users/grindtildeath/events{/privacy}","received_events_url":"https://api.github.com/users/grindtildeath/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-08T16:40:29Z","updated_at":"2018-06-15T08:02:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1ded04c9367eadca136aa9874223bcde5f5eea5d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/OCA/crm/pulls/205/commits","review_comments_url":"https://api.github.com/repos/OCA/crm/pulls/205/comments","review_comment_url":"https://api.github.com/repos/OCA/crm/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/crm/issues/205/comments","statuses_url":"https://api.github.com/repos/OCA/crm/statuses/3bbda92e088837cf4909a8328a1eca1ae654c9a6","head":{"label":"grindtildeath:10.0_add_crm_lead_project","ref":"10.0_add_crm_lead_project","sha":"3bbda92e088837cf4909a8328a1eca1ae654c9a6","user":{"login":"grindtildeath","id":778828,"node_id":"MDQ6VXNlcjc3ODgyOA==","avatar_url":"https://avatars3.githubusercontent.com/u/778828?v=4","gravatar_id":"","url":"https://api.github.com/users/grindtildeath","html_url":"https://github.com/grindtildeath","followers_url":"https://api.github.com/users/grindtildeath/followers","following_url":"https://api.github.com/users/grindtildeath/following{/other_user}","gists_url":"https://api.github.com/users/grindtildeath/gists{/gist_id}","starred_url":"https://api.github.com/users/grindtildeath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grindtildeath/subscriptions","organizations_url":"https://api.github.com/users/grindtildeath/orgs","repos_url":"https://api.github.com/users/grindtildeath/repos","events_url":"https://api.github.com/users/grindtildeath/events{/privacy}","received_events_url":"https://api.github.com/users/grindtildeath/received_events","type":"User","site_admin":false},"repo":{"id":136643440,"node_id":"MDEwOlJlcG9zaXRvcnkxMzY2NDM0NDA=","name":"crm","full_name":"grindtildeath/crm","owner":{"login":"grindtildeath","id":778828,"node_id":"MDQ6VXNlcjc3ODgyOA==","avatar_url":"https://avatars3.githubusercontent.com/u/778828?v=4","gravatar_id":"","url":"https://api.github.com/users/grindtildeath","html_url":"https://github.com/grindtildeath","followers_url":"https://api.github.com/users/grindtildeath/followers","following_url":"https://api.github.com/users/grindtildeath/following{/other_user}","gists_url":"https://api.github.com/users/grindtildeath/gists{/gist_id}","starred_url":"https://api.github.com/users/grindtildeath/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grindtildeath/subscriptions","organizations_url":"https://api.github.com/users/grindtildeath/orgs","repos_url":"https://api.github.com/users/grindtildeath/repos","events_url":"https://api.github.com/users/grindtildeath/events{/privacy}","received_events_url":"https://api.github.com/users/grindtildeath/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/grindtildeath/crm","description":"Odoo CRM, Mail & Newsletter advanced features","fork":true,"url":"https://api.github.com/repos/grindtildeath/crm","forks_url":"https://api.github.com/repos/grindtildeath/crm/forks","keys_url":"https://api.github.com/repos/grindtildeath/crm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grindtildeath/crm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grindtildeath/crm/teams","hooks_url":"https://api.github.com/repos/grindtildeath/crm/hooks","issue_events_url":"https://api.github.com/repos/grindtildeath/crm/issues/events{/number}","events_url":"https://api.github.com/repos/grindtildeath/crm/events","assignees_url":"https://api.github.com/repos/grindtildeath/crm/assignees{/user}","branches_url":"https://api.github.com/repos/grindtildeath/crm/branches{/branch}","tags_url":"https://api.github.com/repos/grindtildeath/crm/tags","blobs_url":"https://api.github.com/repos/grindtildeath/crm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grindtildeath/crm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grindtildeath/crm/git/refs{/sha}","trees_url":"https://api.github.com/repos/grindtildeath/crm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grindtildeath/crm/statuses/{sha}","languages_url":"https://api.github.com/repos/grindtildeath/crm/languages","stargazers_url":"https://api.github.com/repos/grindtildeath/crm/stargazers","contributors_url":"https://api.github.com/repos/grindtildeath/crm/contributors","subscribers_url":"https://api.github.com/repos/grindtildeath/crm/subscribers","subscription_url":"https://api.github.com/repos/grindtildeath/crm/subscription","commits_url":"https://api.github.com/repos/grindtildeath/crm/commits{/sha}","git_commits_url":"https://api.github.com/repos/grindtildeath/crm/git/commits{/sha}","comments_url":"https://api.github.com/repos/grindtildeath/crm/comments{/number}","issue_comment_url":"https://api.github.com/repos/grindtildeath/crm/issues/comments{/number}","contents_url":"https://api.github.com/repos/grindtildeath/crm/contents/{+path}","compare_url":"https://api.github.com/repos/grindtildeath/crm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grindtildeath/crm/merges","archive_url":"https://api.github.com/repos/grindtildeath/crm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grindtildeath/crm/downloads","issues_url":"https://api.github.com/repos/grindtildeath/crm/issues{/number}","pulls_url":"https://api.github.com/repos/grindtildeath/crm/pulls{/number}","milestones_url":"https://api.github.com/repos/grindtildeath/crm/milestones{/number}","notifications_url":"https://api.github.com/repos/grindtildeath/crm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grindtildeath/crm/labels{/name}","releases_url":"https://api.github.com/repos/grindtildeath/crm/releases{/id}","deployments_url":"https://api.github.com/repos/grindtildeath/crm/deployments","created_at":"2018-06-08T16:38:04Z","updated_at":"2018-06-08T16:38:06Z","pushed_at":"2018-06-15T08:00:55Z","git_url":"git://github.com/grindtildeath/crm.git","ssh_url":"git@github.com:grindtildeath/crm.git","clone_url":"https://github.com/grindtildeath/crm.git","svn_url":"https://github.com/grindtildeath/crm","homepage":"","size":3128,"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,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"11.0"}},"base":{"label":"OCA:10.0","ref":"10.0","sha":"838076e0c4bf79d60a1cee1c06001906d1f725b9","user":{"login":"OCA","id":7600578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MDA1Nzg=","avatar_url":"https://avatars1.githubusercontent.com/u/7600578?v=4","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":20882583,"node_id":"MDEwOlJlcG9zaXRvcnkyMDg4MjU4Mw==","name":"crm","full_name":"OCA/crm","owner":{"login":"OCA","id":7600578,"node_id":"MDEyOk9yZ2FuaXphdGlvbjc2MDA1Nzg=","avatar_url":"https://avatars1.githubusercontent.com/u/7600578?v=4","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/crm","description":"Odoo CRM, Mail & Newsletter advanced features","fork":false,"url":"https://api.github.com/repos/OCA/crm","forks_url":"https://api.github.com/repos/OCA/crm/forks","keys_url":"https://api.github.com/repos/OCA/crm/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/crm/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/crm/teams","hooks_url":"https://api.github.com/repos/OCA/crm/hooks","issue_events_url":"https://api.github.com/repos/OCA/crm/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/crm/events","assignees_url":"https://api.github.com/repos/OCA/crm/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/crm/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/crm/tags","blobs_url":"https://api.github.com/repos/OCA/crm/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/crm/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/crm/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/crm/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/crm/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/crm/languages","stargazers_url":"https://api.github.com/repos/OCA/crm/stargazers","contributors_url":"https://api.github.com/repos/OCA/crm/contributors","subscribers_url":"https://api.github.com/repos/OCA/crm/subscribers","subscription_url":"https://api.github.com/repos/OCA/crm/subscription","commits_url":"https://api.github.com/repos/OCA/crm/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/crm/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/crm/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/crm/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/crm/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/crm/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/crm/merges","archive_url":"https://api.github.com/repos/OCA/crm/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/crm/downloads","issues_url":"https://api.github.com/repos/OCA/crm/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/crm/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/crm/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/crm/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/crm/labels{/name}","releases_url":"https://api.github.com/repos/OCA/crm/releases{/id}","deployments_url":"https://api.github.com/repos/OCA/crm/deployments","created_at":"2014-06-16T11:33:18Z","updated_at":"2018-06-12T02:49:08Z","pushed_at":"2018-06-15T08:00:56Z","git_url":"git://github.com/OCA/crm.git","ssh_url":"git@github.com:OCA/crm.git","clone_url":"https://github.com/OCA/crm.git","svn_url":"https://github.com/OCA/crm","homepage":"","size":3124,"stargazers_count":43,"watchers_count":43,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":175,"mirror_url":null,"archived":false,"open_issues_count":26,"license":null,"forks":175,"open_issues":26,"watchers":43,"default_branch":"11.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/crm/pulls/205"},"html":{"href":"https://github.com/OCA/crm/pull/205"},"issue":{"href":"https://api.github.com/repos/OCA/crm/issues/205"},"comments":{"href":"https://api.github.com/repos/OCA/crm/issues/205/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/crm/pulls/205/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/crm/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/crm/pulls/205/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/crm/statuses/3bbda92e088837cf4909a8328a1eca1ae654c9a6"}},"author_association":"NONE"}}
{"actor":{"display_login":"simahawk"}}