{"action":"created","comment":{"url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/pulls/comments/63499129","id":63499129,"diff_hunk":"@@ -0,0 +1,54 @@\n+# -*- encoding: utf-8 -*-\n+##############################################################################\n+#\n+#    Copyright (C) 2014-2015 Compassion CH (http://www.compassion.ch)\n+#    Releasing children from poverty in Jesus' name\n+#    @author: Emmanuel Mathier, Loic Hausammann <loic_hausammann@hotmail.com>\n+#\n+#    The licence is in the file __openerp__.py\n+#\n+##############################################################################\n+\"\"\"\n+This module reads a zip file containing scans of mail and finds the relation\n+between the database and the mail.\n+\"\"\"\n+import logging\n+\n+from openerp import models, api\n+from . import translate_connector\n+\n+logger = logging.getLogger(__name__)\n+\n+\n+class ImportLettersHistory(models.Model):\n+    \"\"\"\n+    Redefine save button when problem to import\n+    \"\"\"\n+\n+    _inherit = 'import.letters.history'\n+\n+    @api.multi\n+    def button_save(self):\n+        \"\"\"\n+        save the import_line as a correspondence\n+        \"\"\"\n+        logger.info(\"BUTTON SAVE ON CHILD !!!\")","path":"sbc_translation/models/import_letters_history.py","position":35,"original_position":35,"commit_id":"4e4c4bec1187af9742be0fbff126d0411dbb4a0d","original_commit_id":"4e4c4bec1187af9742be0fbff126d0411dbb4a0d","user":{"login":"MickSandoz","id":17247329,"avatar_url":"https://avatars.githubusercontent.com/u/17247329?v=3","gravatar_id":"","url":"https://api.github.com/users/MickSandoz","html_url":"https://github.com/MickSandoz","followers_url":"https://api.github.com/users/MickSandoz/followers","following_url":"https://api.github.com/users/MickSandoz/following{/other_user}","gists_url":"https://api.github.com/users/MickSandoz/gists{/gist_id}","starred_url":"https://api.github.com/users/MickSandoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MickSandoz/subscriptions","organizations_url":"https://api.github.com/users/MickSandoz/orgs","repos_url":"https://api.github.com/users/MickSandoz/repos","events_url":"https://api.github.com/users/MickSandoz/events{/privacy}","received_events_url":"https://api.github.com/users/MickSandoz/received_events","type":"User","site_admin":false},"body":"oops vieux commentaire, c'était quand je faisais des checks....","created_at":"2016-05-17T10:29:13Z","updated_at":"2016-05-17T10:29:14Z","html_url":"https://github.com/CompassionCH/compassion-switzerland/pull/59#discussion_r63499129","pull_request_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/pulls/59","_links":{"self":{"href":"https://api.github.com/repos/CompassionCH/compassion-switzerland/pulls/comments/63499129"},"html":{"href":"https://github.com/CompassionCH/compassion-switzerland/pull/59#discussion_r63499129"},"pull_request":{"href":"https://api.github.com/repos/CompassionCH/compassion-switzerland/pulls/59"}}},"pull_request":{"url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/pulls/59","id":69844028,"html_url":"https://github.com/CompassionCH/compassion-switzerland/pull/59","diff_url":"https://github.com/CompassionCH/compassion-switzerland/pull/59.diff","patch_url":"https://github.com/CompassionCH/compassion-switzerland/pull/59.patch","issue_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/issues/59","number":59,"state":"open","locked":false,"title":"Add state on translation plateform in toDo table for letter translated not in Odoo","user":{"login":"MickSandoz","id":17247329,"avatar_url":"https://avatars.githubusercontent.com/u/17247329?v=3","gravatar_id":"","url":"https://api.github.com/users/MickSandoz","html_url":"https://github.com/MickSandoz","followers_url":"https://api.github.com/users/MickSandoz/followers","following_url":"https://api.github.com/users/MickSandoz/following{/other_user}","gists_url":"https://api.github.com/users/MickSandoz/gists{/gist_id}","starred_url":"https://api.github.com/users/MickSandoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MickSandoz/subscriptions","organizations_url":"https://api.github.com/users/MickSandoz/orgs","repos_url":"https://api.github.com/users/MickSandoz/repos","events_url":"https://api.github.com/users/MickSandoz/events{/privacy}","received_events_url":"https://api.github.com/users/MickSandoz/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-05-12T14:15:31Z","updated_at":"2016-05-17T10:29:14Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f190a94c565f271a864ecb4359cceb70c59efc69","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/pulls/59/commits","review_comments_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/pulls/59/comments","review_comment_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/issues/59/comments","statuses_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/statuses/4e4c4bec1187af9742be0fbff126d0411dbb4a0d","head":{"label":"MickSandoz:master","ref":"master","sha":"4e4c4bec1187af9742be0fbff126d0411dbb4a0d","user":{"login":"MickSandoz","id":17247329,"avatar_url":"https://avatars.githubusercontent.com/u/17247329?v=3","gravatar_id":"","url":"https://api.github.com/users/MickSandoz","html_url":"https://github.com/MickSandoz","followers_url":"https://api.github.com/users/MickSandoz/followers","following_url":"https://api.github.com/users/MickSandoz/following{/other_user}","gists_url":"https://api.github.com/users/MickSandoz/gists{/gist_id}","starred_url":"https://api.github.com/users/MickSandoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MickSandoz/subscriptions","organizations_url":"https://api.github.com/users/MickSandoz/orgs","repos_url":"https://api.github.com/users/MickSandoz/repos","events_url":"https://api.github.com/users/MickSandoz/events{/privacy}","received_events_url":"https://api.github.com/users/MickSandoz/received_events","type":"User","site_admin":false},"repo":{"id":52078047,"name":"compassion-switzerland","full_name":"MickSandoz/compassion-switzerland","owner":{"login":"MickSandoz","id":17247329,"avatar_url":"https://avatars.githubusercontent.com/u/17247329?v=3","gravatar_id":"","url":"https://api.github.com/users/MickSandoz","html_url":"https://github.com/MickSandoz","followers_url":"https://api.github.com/users/MickSandoz/followers","following_url":"https://api.github.com/users/MickSandoz/following{/other_user}","gists_url":"https://api.github.com/users/MickSandoz/gists{/gist_id}","starred_url":"https://api.github.com/users/MickSandoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MickSandoz/subscriptions","organizations_url":"https://api.github.com/users/MickSandoz/orgs","repos_url":"https://api.github.com/users/MickSandoz/repos","events_url":"https://api.github.com/users/MickSandoz/events{/privacy}","received_events_url":"https://api.github.com/users/MickSandoz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MickSandoz/compassion-switzerland","description":"Odoo modules specific for Compassion Switzerland","fork":true,"url":"https://api.github.com/repos/MickSandoz/compassion-switzerland","forks_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/forks","keys_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/teams","hooks_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/hooks","issue_events_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/issues/events{/number}","events_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/events","assignees_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/assignees{/user}","branches_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/branches{/branch}","tags_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/tags","blobs_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/git/refs{/sha}","trees_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/statuses/{sha}","languages_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/languages","stargazers_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/stargazers","contributors_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/contributors","subscribers_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/subscribers","subscription_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/subscription","commits_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/commits{/sha}","git_commits_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/git/commits{/sha}","comments_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/comments{/number}","issue_comment_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/issues/comments{/number}","contents_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/contents/{+path}","compare_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/merges","archive_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/downloads","issues_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/issues{/number}","pulls_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/pulls{/number}","milestones_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/milestones{/number}","notifications_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/labels{/name}","releases_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/releases{/id}","deployments_url":"https://api.github.com/repos/MickSandoz/compassion-switzerland/deployments","created_at":"2016-02-19T09:48:10Z","updated_at":"2016-02-19T09:48:11Z","pushed_at":"2016-05-17T10:25:04Z","git_url":"git://github.com/MickSandoz/compassion-switzerland.git","ssh_url":"git@github.com:MickSandoz/compassion-switzerland.git","clone_url":"https://github.com/MickSandoz/compassion-switzerland.git","svn_url":"https://github.com/MickSandoz/compassion-switzerland","homepage":"","size":1505,"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":"master"}},"base":{"label":"CompassionCH:master","ref":"master","sha":"d3bf62e604e266dab7dae619065135adf05561fd","user":{"login":"CompassionCH","id":8435213,"avatar_url":"https://avatars.githubusercontent.com/u/8435213?v=3","gravatar_id":"","url":"https://api.github.com/users/CompassionCH","html_url":"https://github.com/CompassionCH","followers_url":"https://api.github.com/users/CompassionCH/followers","following_url":"https://api.github.com/users/CompassionCH/following{/other_user}","gists_url":"https://api.github.com/users/CompassionCH/gists{/gist_id}","starred_url":"https://api.github.com/users/CompassionCH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CompassionCH/subscriptions","organizations_url":"https://api.github.com/users/CompassionCH/orgs","repos_url":"https://api.github.com/users/CompassionCH/repos","events_url":"https://api.github.com/users/CompassionCH/events{/privacy}","received_events_url":"https://api.github.com/users/CompassionCH/received_events","type":"Organization","site_admin":false},"repo":{"id":31906068,"name":"compassion-switzerland","full_name":"CompassionCH/compassion-switzerland","owner":{"login":"CompassionCH","id":8435213,"avatar_url":"https://avatars.githubusercontent.com/u/8435213?v=3","gravatar_id":"","url":"https://api.github.com/users/CompassionCH","html_url":"https://github.com/CompassionCH","followers_url":"https://api.github.com/users/CompassionCH/followers","following_url":"https://api.github.com/users/CompassionCH/following{/other_user}","gists_url":"https://api.github.com/users/CompassionCH/gists{/gist_id}","starred_url":"https://api.github.com/users/CompassionCH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CompassionCH/subscriptions","organizations_url":"https://api.github.com/users/CompassionCH/orgs","repos_url":"https://api.github.com/users/CompassionCH/repos","events_url":"https://api.github.com/users/CompassionCH/events{/privacy}","received_events_url":"https://api.github.com/users/CompassionCH/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CompassionCH/compassion-switzerland","description":"Odoo modules specific for Compassion Switzerland","fork":false,"url":"https://api.github.com/repos/CompassionCH/compassion-switzerland","forks_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/forks","keys_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/teams","hooks_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/hooks","issue_events_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/issues/events{/number}","events_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/events","assignees_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/assignees{/user}","branches_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/branches{/branch}","tags_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/tags","blobs_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/git/refs{/sha}","trees_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/statuses/{sha}","languages_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/languages","stargazers_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/stargazers","contributors_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/contributors","subscribers_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/subscribers","subscription_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/subscription","commits_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/commits{/sha}","git_commits_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/git/commits{/sha}","comments_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/comments{/number}","issue_comment_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/issues/comments{/number}","contents_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/contents/{+path}","compare_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/merges","archive_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/downloads","issues_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/issues{/number}","pulls_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/pulls{/number}","milestones_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/milestones{/number}","notifications_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/labels{/name}","releases_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/releases{/id}","deployments_url":"https://api.github.com/repos/CompassionCH/compassion-switzerland/deployments","created_at":"2015-03-09T15:24:10Z","updated_at":"2016-04-15T08:52:45Z","pushed_at":"2016-05-17T10:25:05Z","git_url":"git://github.com/CompassionCH/compassion-switzerland.git","ssh_url":"git@github.com:CompassionCH/compassion-switzerland.git","clone_url":"https://github.com/CompassionCH/compassion-switzerland.git","svn_url":"https://github.com/CompassionCH/compassion-switzerland","homepage":"","size":1526,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":1,"forks":9,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CompassionCH/compassion-switzerland/pulls/59"},"html":{"href":"https://github.com/CompassionCH/compassion-switzerland/pull/59"},"issue":{"href":"https://api.github.com/repos/CompassionCH/compassion-switzerland/issues/59"},"comments":{"href":"https://api.github.com/repos/CompassionCH/compassion-switzerland/issues/59/comments"},"review_comments":{"href":"https://api.github.com/repos/CompassionCH/compassion-switzerland/pulls/59/comments"},"review_comment":{"href":"https://api.github.com/repos/CompassionCH/compassion-switzerland/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CompassionCH/compassion-switzerland/pulls/59/commits"},"statuses":{"href":"https://api.github.com/repos/CompassionCH/compassion-switzerland/statuses/4e4c4bec1187af9742be0fbff126d0411dbb4a0d"}}}}