{"action":"created","comment":{"url":"https://api.github.com/repos/archetipo/l10n-italy/pulls/comments/26645240","id":26645240,"diff_hunk":"@@ -115,6 +142,67 @@ def _get_out_server(self, cr, uid, ids, name,\n         'direction': 'in'\n     }\n \n+    def CheckStatus(self, cr, uid, ids, context=None):\n+        mail_mail_pool = self.pool['mail.mail']\n+        if context is None:\n+            context = {}\n+        if not hasattr(ids, '__iter__'):\n+            ids = [ids]\n+        error_lst = []\n+        receipt_list = []\n+        completed = True\n+        res = {}\n+        if ids:\n+            for message in self.browse(cr, uid, ids, context=context):\n+                mail_sent_ids = mail_mail_pool.search(\n+                    cr,\n+                    uid,\n+                    [('mail_message_id', '=', message.id)],\n+                    context=context\n+                )\n+                if not mail_sent_ids:\n+                    _logger.exception(","path":"l10n_it_pec_messages/model/mail_message.py","position":96,"original_position":96,"commit_id":"d1f3ccb98b34129e5888ce192e4844bf6543ddfe","original_commit_id":"d1f3ccb98b34129e5888ce192e4844bf6543ddfe","user":{"login":"angedras","id":5930305,"avatar_url":"https://avatars.githubusercontent.com/u/5930305?v=3","gravatar_id":"","url":"https://api.github.com/users/angedras","html_url":"https://github.com/angedras","followers_url":"https://api.github.com/users/angedras/followers","following_url":"https://api.github.com/users/angedras/following{/other_user}","gists_url":"https://api.github.com/users/angedras/gists{/gist_id}","starred_url":"https://api.github.com/users/angedras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angedras/subscriptions","organizations_url":"https://api.github.com/users/angedras/orgs","repos_url":"https://api.github.com/users/angedras/repos","events_url":"https://api.github.com/users/angedras/events{/privacy}","received_events_url":"https://api.github.com/users/angedras/received_events","type":"User","site_admin":false},"body":"@Lorenzo riguardo al logging ho verificato la documentazione, in questo caso è corretto usare error. Modifico","created_at":"2015-03-18T08:37:38Z","updated_at":"2015-03-18T08:37:38Z","html_url":"https://github.com/archetipo/l10n-italy/pull/22#discussion_r26645240","pull_request_url":"https://api.github.com/repos/archetipo/l10n-italy/pulls/22","_links":{"self":{"href":"https://api.github.com/repos/archetipo/l10n-italy/pulls/comments/26645240"},"html":{"href":"https://github.com/archetipo/l10n-italy/pull/22#discussion_r26645240"},"pull_request":{"href":"https://api.github.com/repos/archetipo/l10n-italy/pulls/22"}}},"pull_request":{"url":"https://api.github.com/repos/archetipo/l10n-italy/pulls/22","id":31319570,"html_url":"https://github.com/archetipo/l10n-italy/pull/22","diff_url":"https://github.com/archetipo/l10n-italy/pull/22.diff","patch_url":"https://github.com/archetipo/l10n-italy/pull/22.patch","issue_url":"https://api.github.com/repos/archetipo/l10n-italy/issues/22","number":22,"state":"open","locked":false,"title":"Fix pec receipt msg","user":{"login":"angedras","id":5930305,"avatar_url":"https://avatars.githubusercontent.com/u/5930305?v=3","gravatar_id":"","url":"https://api.github.com/users/angedras","html_url":"https://github.com/angedras","followers_url":"https://api.github.com/users/angedras/followers","following_url":"https://api.github.com/users/angedras/following{/other_user}","gists_url":"https://api.github.com/users/angedras/gists{/gist_id}","starred_url":"https://api.github.com/users/angedras/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/angedras/subscriptions","organizations_url":"https://api.github.com/users/angedras/orgs","repos_url":"https://api.github.com/users/angedras/repos","events_url":"https://api.github.com/users/angedras/events{/privacy}","received_events_url":"https://api.github.com/users/angedras/received_events","type":"User","site_admin":false},"body":"This PR fixes the problem of a pec message with many recipient address, it fixes also the error in receipt message body","created_at":"2015-03-17T09:44:35Z","updated_at":"2015-03-18T08:37:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c7ac78298773a75dfddcbaabceaac0fa0b296c46","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/archetipo/l10n-italy/pulls/22/commits","review_comments_url":"https://api.github.com/repos/archetipo/l10n-italy/pulls/22/comments","review_comment_url":"https://api.github.com/repos/archetipo/l10n-italy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/archetipo/l10n-italy/issues/22/comments","statuses_url":"https://api.github.com/repos/archetipo/l10n-italy/statuses/d1f3ccb98b34129e5888ce192e4844bf6543ddfe","head":{"label":"archetipo:fix_pec_receipt_msg","ref":"fix_pec_receipt_msg","sha":"d1f3ccb98b34129e5888ce192e4844bf6543ddfe","user":{"login":"archetipo","id":5037557,"avatar_url":"https://avatars.githubusercontent.com/u/5037557?v=3","gravatar_id":"","url":"https://api.github.com/users/archetipo","html_url":"https://github.com/archetipo","followers_url":"https://api.github.com/users/archetipo/followers","following_url":"https://api.github.com/users/archetipo/following{/other_user}","gists_url":"https://api.github.com/users/archetipo/gists{/gist_id}","starred_url":"https://api.github.com/users/archetipo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archetipo/subscriptions","organizations_url":"https://api.github.com/users/archetipo/orgs","repos_url":"https://api.github.com/users/archetipo/repos","events_url":"https://api.github.com/users/archetipo/events{/privacy}","received_events_url":"https://api.github.com/users/archetipo/received_events","type":"User","site_admin":false},"repo":{"id":26489119,"name":"l10n-italy","full_name":"archetipo/l10n-italy","owner":{"login":"archetipo","id":5037557,"avatar_url":"https://avatars.githubusercontent.com/u/5037557?v=3","gravatar_id":"","url":"https://api.github.com/users/archetipo","html_url":"https://github.com/archetipo","followers_url":"https://api.github.com/users/archetipo/followers","following_url":"https://api.github.com/users/archetipo/following{/other_user}","gists_url":"https://api.github.com/users/archetipo/gists{/gist_id}","starred_url":"https://api.github.com/users/archetipo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archetipo/subscriptions","organizations_url":"https://api.github.com/users/archetipo/orgs","repos_url":"https://api.github.com/users/archetipo/repos","events_url":"https://api.github.com/users/archetipo/events{/privacy}","received_events_url":"https://api.github.com/users/archetipo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/archetipo/l10n-italy","description":"","fork":true,"url":"https://api.github.com/repos/archetipo/l10n-italy","forks_url":"https://api.github.com/repos/archetipo/l10n-italy/forks","keys_url":"https://api.github.com/repos/archetipo/l10n-italy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/archetipo/l10n-italy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/archetipo/l10n-italy/teams","hooks_url":"https://api.github.com/repos/archetipo/l10n-italy/hooks","issue_events_url":"https://api.github.com/repos/archetipo/l10n-italy/issues/events{/number}","events_url":"https://api.github.com/repos/archetipo/l10n-italy/events","assignees_url":"https://api.github.com/repos/archetipo/l10n-italy/assignees{/user}","branches_url":"https://api.github.com/repos/archetipo/l10n-italy/branches{/branch}","tags_url":"https://api.github.com/repos/archetipo/l10n-italy/tags","blobs_url":"https://api.github.com/repos/archetipo/l10n-italy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/archetipo/l10n-italy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/archetipo/l10n-italy/git/refs{/sha}","trees_url":"https://api.github.com/repos/archetipo/l10n-italy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/archetipo/l10n-italy/statuses/{sha}","languages_url":"https://api.github.com/repos/archetipo/l10n-italy/languages","stargazers_url":"https://api.github.com/repos/archetipo/l10n-italy/stargazers","contributors_url":"https://api.github.com/repos/archetipo/l10n-italy/contributors","subscribers_url":"https://api.github.com/repos/archetipo/l10n-italy/subscribers","subscription_url":"https://api.github.com/repos/archetipo/l10n-italy/subscription","commits_url":"https://api.github.com/repos/archetipo/l10n-italy/commits{/sha}","git_commits_url":"https://api.github.com/repos/archetipo/l10n-italy/git/commits{/sha}","comments_url":"https://api.github.com/repos/archetipo/l10n-italy/comments{/number}","issue_comment_url":"https://api.github.com/repos/archetipo/l10n-italy/issues/comments{/number}","contents_url":"https://api.github.com/repos/archetipo/l10n-italy/contents/{+path}","compare_url":"https://api.github.com/repos/archetipo/l10n-italy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/archetipo/l10n-italy/merges","archive_url":"https://api.github.com/repos/archetipo/l10n-italy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/archetipo/l10n-italy/downloads","issues_url":"https://api.github.com/repos/archetipo/l10n-italy/issues{/number}","pulls_url":"https://api.github.com/repos/archetipo/l10n-italy/pulls{/number}","milestones_url":"https://api.github.com/repos/archetipo/l10n-italy/milestones{/number}","notifications_url":"https://api.github.com/repos/archetipo/l10n-italy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/archetipo/l10n-italy/labels{/name}","releases_url":"https://api.github.com/repos/archetipo/l10n-italy/releases{/id}","created_at":"2014-11-11T14:45:22Z","updated_at":"2015-03-10T08:02:48Z","pushed_at":"2015-03-17T13:39:42Z","git_url":"git://github.com/archetipo/l10n-italy.git","ssh_url":"git@github.com:archetipo/l10n-italy.git","clone_url":"https://github.com/archetipo/l10n-italy.git","svn_url":"https://github.com/archetipo/l10n-italy","homepage":null,"size":4735,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"7.0"}},"base":{"label":"archetipo:7.0","ref":"7.0","sha":"163ef511e268036e5a2f62f25faeb1f31f123ab5","user":{"login":"archetipo","id":5037557,"avatar_url":"https://avatars.githubusercontent.com/u/5037557?v=3","gravatar_id":"","url":"https://api.github.com/users/archetipo","html_url":"https://github.com/archetipo","followers_url":"https://api.github.com/users/archetipo/followers","following_url":"https://api.github.com/users/archetipo/following{/other_user}","gists_url":"https://api.github.com/users/archetipo/gists{/gist_id}","starred_url":"https://api.github.com/users/archetipo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archetipo/subscriptions","organizations_url":"https://api.github.com/users/archetipo/orgs","repos_url":"https://api.github.com/users/archetipo/repos","events_url":"https://api.github.com/users/archetipo/events{/privacy}","received_events_url":"https://api.github.com/users/archetipo/received_events","type":"User","site_admin":false},"repo":{"id":26489119,"name":"l10n-italy","full_name":"archetipo/l10n-italy","owner":{"login":"archetipo","id":5037557,"avatar_url":"https://avatars.githubusercontent.com/u/5037557?v=3","gravatar_id":"","url":"https://api.github.com/users/archetipo","html_url":"https://github.com/archetipo","followers_url":"https://api.github.com/users/archetipo/followers","following_url":"https://api.github.com/users/archetipo/following{/other_user}","gists_url":"https://api.github.com/users/archetipo/gists{/gist_id}","starred_url":"https://api.github.com/users/archetipo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/archetipo/subscriptions","organizations_url":"https://api.github.com/users/archetipo/orgs","repos_url":"https://api.github.com/users/archetipo/repos","events_url":"https://api.github.com/users/archetipo/events{/privacy}","received_events_url":"https://api.github.com/users/archetipo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/archetipo/l10n-italy","description":"","fork":true,"url":"https://api.github.com/repos/archetipo/l10n-italy","forks_url":"https://api.github.com/repos/archetipo/l10n-italy/forks","keys_url":"https://api.github.com/repos/archetipo/l10n-italy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/archetipo/l10n-italy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/archetipo/l10n-italy/teams","hooks_url":"https://api.github.com/repos/archetipo/l10n-italy/hooks","issue_events_url":"https://api.github.com/repos/archetipo/l10n-italy/issues/events{/number}","events_url":"https://api.github.com/repos/archetipo/l10n-italy/events","assignees_url":"https://api.github.com/repos/archetipo/l10n-italy/assignees{/user}","branches_url":"https://api.github.com/repos/archetipo/l10n-italy/branches{/branch}","tags_url":"https://api.github.com/repos/archetipo/l10n-italy/tags","blobs_url":"https://api.github.com/repos/archetipo/l10n-italy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/archetipo/l10n-italy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/archetipo/l10n-italy/git/refs{/sha}","trees_url":"https://api.github.com/repos/archetipo/l10n-italy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/archetipo/l10n-italy/statuses/{sha}","languages_url":"https://api.github.com/repos/archetipo/l10n-italy/languages","stargazers_url":"https://api.github.com/repos/archetipo/l10n-italy/stargazers","contributors_url":"https://api.github.com/repos/archetipo/l10n-italy/contributors","subscribers_url":"https://api.github.com/repos/archetipo/l10n-italy/subscribers","subscription_url":"https://api.github.com/repos/archetipo/l10n-italy/subscription","commits_url":"https://api.github.com/repos/archetipo/l10n-italy/commits{/sha}","git_commits_url":"https://api.github.com/repos/archetipo/l10n-italy/git/commits{/sha}","comments_url":"https://api.github.com/repos/archetipo/l10n-italy/comments{/number}","issue_comment_url":"https://api.github.com/repos/archetipo/l10n-italy/issues/comments{/number}","contents_url":"https://api.github.com/repos/archetipo/l10n-italy/contents/{+path}","compare_url":"https://api.github.com/repos/archetipo/l10n-italy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/archetipo/l10n-italy/merges","archive_url":"https://api.github.com/repos/archetipo/l10n-italy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/archetipo/l10n-italy/downloads","issues_url":"https://api.github.com/repos/archetipo/l10n-italy/issues{/number}","pulls_url":"https://api.github.com/repos/archetipo/l10n-italy/pulls{/number}","milestones_url":"https://api.github.com/repos/archetipo/l10n-italy/milestones{/number}","notifications_url":"https://api.github.com/repos/archetipo/l10n-italy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/archetipo/l10n-italy/labels{/name}","releases_url":"https://api.github.com/repos/archetipo/l10n-italy/releases{/id}","created_at":"2014-11-11T14:45:22Z","updated_at":"2015-03-10T08:02:48Z","pushed_at":"2015-03-17T13:39:42Z","git_url":"git://github.com/archetipo/l10n-italy.git","ssh_url":"git@github.com:archetipo/l10n-italy.git","clone_url":"https://github.com/archetipo/l10n-italy.git","svn_url":"https://github.com/archetipo/l10n-italy","homepage":null,"size":4735,"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":5,"forks":0,"open_issues":5,"watchers":0,"default_branch":"7.0"}},"_links":{"self":{"href":"https://api.github.com/repos/archetipo/l10n-italy/pulls/22"},"html":{"href":"https://github.com/archetipo/l10n-italy/pull/22"},"issue":{"href":"https://api.github.com/repos/archetipo/l10n-italy/issues/22"},"comments":{"href":"https://api.github.com/repos/archetipo/l10n-italy/issues/22/comments"},"review_comments":{"href":"https://api.github.com/repos/archetipo/l10n-italy/pulls/22/comments"},"review_comment":{"href":"https://api.github.com/repos/archetipo/l10n-italy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/archetipo/l10n-italy/pulls/22/commits"},"statuses":{"href":"https://api.github.com/repos/archetipo/l10n-italy/statuses/d1f3ccb98b34129e5888ce192e4844bf6543ddfe"}}}}