{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/social/pulls/comments/39491554","id":39491554,"diff_hunk":"@@ -0,0 +1,120 @@\n+# -*- coding: utf-8 -*-\n+# © 2014-2015 Grupo ESOC <www.grupoesoc.es>\n+# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html).\n+\n+from openerp import api, fields, models\n+\n+\n+class MailForwardComposeMessage(models.TransientModel):\n+    \"\"\"Allow forwarding a message.\n+\n+    It duplicates the message and optionally attaches it to another object\n+    of the database and sends it to another recipients than the original one.\n+    \"\"\"\n+\n+    _name = \"mail_forward.compose.message\"\n+    _inherits = {\"mail.compose.message\": \"original_wizard_id\"}\n+\n+    _models = [","path":"mail_forward/wizard/mail_forward.py","position":18,"original_position":18,"commit_id":"3d22813e248e16adcb1c92c62d3c66dcb9cc4e2f","original_commit_id":"3d22813e248e16adcb1c92c62d3c66dcb9cc4e2f","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":"Or maybe use res.request.link table or another one created for this purpose.","created_at":"2015-09-15T09:41:10Z","updated_at":"2015-09-15T09:41:10Z","html_url":"https://github.com/OCA/social/pull/12#discussion_r39491554","pull_request_url":"https://api.github.com/repos/OCA/social/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/OCA/social/pulls/comments/39491554"},"html":{"href":"https://github.com/OCA/social/pull/12#discussion_r39491554"},"pull_request":{"href":"https://api.github.com/repos/OCA/social/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/social/pulls/12","id":44902030,"html_url":"https://github.com/OCA/social/pull/12","diff_url":"https://github.com/OCA/social/pull/12.diff","patch_url":"https://github.com/OCA/social/pull/12.patch","issue_url":"https://api.github.com/repos/OCA/social/issues/12","number":12,"state":"open","locked":false,"title":"Add module mail_forward","user":{"login":"Yajo","id":973709,"avatar_url":"https://avatars.githubusercontent.com/u/973709?v=3","gravatar_id":"","url":"https://api.github.com/users/Yajo","html_url":"https://github.com/Yajo","followers_url":"https://api.github.com/users/Yajo/followers","following_url":"https://api.github.com/users/Yajo/following{/other_user}","gists_url":"https://api.github.com/users/Yajo/gists{/gist_id}","starred_url":"https://api.github.com/users/Yajo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yajo/subscriptions","organizations_url":"https://api.github.com/users/Yajo/orgs","repos_url":"https://api.github.com/users/Yajo/repos","events_url":"https://api.github.com/users/Yajo/events{/privacy}","received_events_url":"https://api.github.com/users/Yajo/received_events","type":"User","site_admin":false},"body":"Move mail_forward module from [odoo-grupoesoc-addons][1].\r\n\r\nThis module allows the user to forward a message to another object of the database and/or to any contact. See README for details.\r\n\r\n[1]: https://github.com/grupoesoc/odoo-grupoesoc-addons","created_at":"2015-09-14T08:00:23Z","updated_at":"2015-09-15T09:41:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aabdacc1df403d21ee6e2856a3bc605657ba7752","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/OCA/social/pulls/12/commits","review_comments_url":"https://api.github.com/repos/OCA/social/pulls/12/comments","review_comment_url":"https://api.github.com/repos/OCA/social/pulls/comments{/number}","comments_url":"https://api.github.com/repos/OCA/social/issues/12/comments","statuses_url":"https://api.github.com/repos/OCA/social/statuses/3d22813e248e16adcb1c92c62d3c66dcb9cc4e2f","head":{"label":"grupoesoc:mail_forward","ref":"mail_forward","sha":"3d22813e248e16adcb1c92c62d3c66dcb9cc4e2f","user":{"login":"grupoesoc","id":8087470,"avatar_url":"https://avatars.githubusercontent.com/u/8087470?v=3","gravatar_id":"","url":"https://api.github.com/users/grupoesoc","html_url":"https://github.com/grupoesoc","followers_url":"https://api.github.com/users/grupoesoc/followers","following_url":"https://api.github.com/users/grupoesoc/following{/other_user}","gists_url":"https://api.github.com/users/grupoesoc/gists{/gist_id}","starred_url":"https://api.github.com/users/grupoesoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grupoesoc/subscriptions","organizations_url":"https://api.github.com/users/grupoesoc/orgs","repos_url":"https://api.github.com/users/grupoesoc/repos","events_url":"https://api.github.com/users/grupoesoc/events{/privacy}","received_events_url":"https://api.github.com/users/grupoesoc/received_events","type":"Organization","site_admin":false},"repo":{"id":42433181,"name":"social","full_name":"grupoesoc/social","owner":{"login":"grupoesoc","id":8087470,"avatar_url":"https://avatars.githubusercontent.com/u/8087470?v=3","gravatar_id":"","url":"https://api.github.com/users/grupoesoc","html_url":"https://github.com/grupoesoc","followers_url":"https://api.github.com/users/grupoesoc/followers","following_url":"https://api.github.com/users/grupoesoc/following{/other_user}","gists_url":"https://api.github.com/users/grupoesoc/gists{/gist_id}","starred_url":"https://api.github.com/users/grupoesoc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/grupoesoc/subscriptions","organizations_url":"https://api.github.com/users/grupoesoc/orgs","repos_url":"https://api.github.com/users/grupoesoc/repos","events_url":"https://api.github.com/users/grupoesoc/events{/privacy}","received_events_url":"https://api.github.com/users/grupoesoc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/grupoesoc/social","description":"Addons concerning odoo's social ERP features and messaging in general","fork":true,"url":"https://api.github.com/repos/grupoesoc/social","forks_url":"https://api.github.com/repos/grupoesoc/social/forks","keys_url":"https://api.github.com/repos/grupoesoc/social/keys{/key_id}","collaborators_url":"https://api.github.com/repos/grupoesoc/social/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/grupoesoc/social/teams","hooks_url":"https://api.github.com/repos/grupoesoc/social/hooks","issue_events_url":"https://api.github.com/repos/grupoesoc/social/issues/events{/number}","events_url":"https://api.github.com/repos/grupoesoc/social/events","assignees_url":"https://api.github.com/repos/grupoesoc/social/assignees{/user}","branches_url":"https://api.github.com/repos/grupoesoc/social/branches{/branch}","tags_url":"https://api.github.com/repos/grupoesoc/social/tags","blobs_url":"https://api.github.com/repos/grupoesoc/social/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/grupoesoc/social/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/grupoesoc/social/git/refs{/sha}","trees_url":"https://api.github.com/repos/grupoesoc/social/git/trees{/sha}","statuses_url":"https://api.github.com/repos/grupoesoc/social/statuses/{sha}","languages_url":"https://api.github.com/repos/grupoesoc/social/languages","stargazers_url":"https://api.github.com/repos/grupoesoc/social/stargazers","contributors_url":"https://api.github.com/repos/grupoesoc/social/contributors","subscribers_url":"https://api.github.com/repos/grupoesoc/social/subscribers","subscription_url":"https://api.github.com/repos/grupoesoc/social/subscription","commits_url":"https://api.github.com/repos/grupoesoc/social/commits{/sha}","git_commits_url":"https://api.github.com/repos/grupoesoc/social/git/commits{/sha}","comments_url":"https://api.github.com/repos/grupoesoc/social/comments{/number}","issue_comment_url":"https://api.github.com/repos/grupoesoc/social/issues/comments{/number}","contents_url":"https://api.github.com/repos/grupoesoc/social/contents/{+path}","compare_url":"https://api.github.com/repos/grupoesoc/social/compare/{base}...{head}","merges_url":"https://api.github.com/repos/grupoesoc/social/merges","archive_url":"https://api.github.com/repos/grupoesoc/social/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/grupoesoc/social/downloads","issues_url":"https://api.github.com/repos/grupoesoc/social/issues{/number}","pulls_url":"https://api.github.com/repos/grupoesoc/social/pulls{/number}","milestones_url":"https://api.github.com/repos/grupoesoc/social/milestones{/number}","notifications_url":"https://api.github.com/repos/grupoesoc/social/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/grupoesoc/social/labels{/name}","releases_url":"https://api.github.com/repos/grupoesoc/social/releases{/id}","created_at":"2015-09-14T07:14:59Z","updated_at":"2015-09-14T07:14:59Z","pushed_at":"2015-09-14T08:37:36Z","git_url":"git://github.com/grupoesoc/social.git","ssh_url":"git@github.com:grupoesoc/social.git","clone_url":"https://github.com/grupoesoc/social.git","svn_url":"https://github.com/grupoesoc/social","homepage":null,"size":239,"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":"8d1e224950741d70709c58d8aab70d1cd0fdb8fc","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":39009740,"name":"social","full_name":"OCA/social","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/social","description":"Addons concerning odoo's social ERP features and messaging in general","fork":false,"url":"https://api.github.com/repos/OCA/social","forks_url":"https://api.github.com/repos/OCA/social/forks","keys_url":"https://api.github.com/repos/OCA/social/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/social/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/social/teams","hooks_url":"https://api.github.com/repos/OCA/social/hooks","issue_events_url":"https://api.github.com/repos/OCA/social/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/social/events","assignees_url":"https://api.github.com/repos/OCA/social/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/social/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/social/tags","blobs_url":"https://api.github.com/repos/OCA/social/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/social/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/social/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/social/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/social/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/social/languages","stargazers_url":"https://api.github.com/repos/OCA/social/stargazers","contributors_url":"https://api.github.com/repos/OCA/social/contributors","subscribers_url":"https://api.github.com/repos/OCA/social/subscribers","subscription_url":"https://api.github.com/repos/OCA/social/subscription","commits_url":"https://api.github.com/repos/OCA/social/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/social/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/social/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/social/issues/comments{/number}","contents_url":"https://api.github.com/repos/OCA/social/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/social/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/social/merges","archive_url":"https://api.github.com/repos/OCA/social/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/social/downloads","issues_url":"https://api.github.com/repos/OCA/social/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/social/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/social/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/social/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/social/labels{/name}","releases_url":"https://api.github.com/repos/OCA/social/releases{/id}","created_at":"2015-07-13T12:06:47Z","updated_at":"2015-08-16T16:01:53Z","pushed_at":"2015-09-14T08:37:37Z","git_url":"git://github.com/OCA/social.git","ssh_url":"git@github.com:OCA/social.git","clone_url":"https://github.com/OCA/social.git","svn_url":"https://github.com/OCA/social","homepage":null,"size":761,"stargazers_count":4,"watchers_count":4,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":8,"forks":10,"open_issues":8,"watchers":4,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/social/pulls/12"},"html":{"href":"https://github.com/OCA/social/pull/12"},"issue":{"href":"https://api.github.com/repos/OCA/social/issues/12"},"comments":{"href":"https://api.github.com/repos/OCA/social/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/social/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/social/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/OCA/social/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/social/statuses/3d22813e248e16adcb1c92c62d3c66dcb9cc4e2f"}}}}