{"action":"created","comment":{"url":"https://api.github.com/repos/OCA/l10n-canada/pulls/comments/24638285","id":24638285,"diff_hunk":"@@ -0,0 +1,325 @@\n+# -*- coding:utf-8 -*-#########################################################\n+#\n+#    Copyright (C) 2014 Savoir-faire Linux. All Rights Reserved.\n+#\n+#    This program is free software: you can redistribute it and/or modify\n+#    it under the terms of the GNU Affero General Public License as published\n+#    by\n+#    the Free Software Foundation, either version 3 of the License, or\n+#    (at your option) any later version.\n+#\n+#    This program is distributed in the hope that it will be useful,\n+#    but WITHOUT ANY WARRANTY; without even the implied warranty of\n+#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\n+#    GNU Affero General Public License for more details.\n+#\n+#    You should have received a copy of the GNU Affero General Public License\n+#    along with this program.  If not, see <http://www.gnu.org/licenses/>.\n+#\n+##############################################################################\n+\n+from openerp.osv import orm, fields\n+from openerp.tools.translate import _\n+from openerp.tools import DEFAULT_SERVER_DATE_FORMAT\n+from lxml import etree\n+import iso3166","path":"l10n_ca_hr_payroll/hr_cra_transmission.py","position":25,"original_position":25,"commit_id":"8129a8baa9ba83eb4918c0e1dcb239ac8d0f686f","original_commit_id":"8129a8baa9ba83eb4918c0e1dcb239ac8d0f686f","user":{"login":"max3903","id":939952,"avatar_url":"https://avatars.githubusercontent.com/u/939952?v=3","gravatar_id":"","url":"https://api.github.com/users/max3903","html_url":"https://github.com/max3903","followers_url":"https://api.github.com/users/max3903/followers","following_url":"https://api.github.com/users/max3903/following{/other_user}","gists_url":"https://api.github.com/users/max3903/gists{/gist_id}","starred_url":"https://api.github.com/users/max3903/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max3903/subscriptions","organizations_url":"https://api.github.com/users/max3903/orgs","repos_url":"https://api.github.com/users/max3903/repos","events_url":"https://api.github.com/users/max3903/events{/privacy}","received_events_url":"https://api.github.com/users/max3903/received_events","type":"User","site_admin":false},"body":"Please add this lib in your external dependencies in `__openerp__.py`","created_at":"2015-02-13T01:33:58Z","updated_at":"2015-02-13T01:33:58Z","html_url":"https://github.com/OCA/l10n-canada/pull/43#discussion_r24638285","pull_request_url":"https://api.github.com/repos/OCA/l10n-canada/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/OCA/l10n-canada/pulls/comments/24638285"},"html":{"href":"https://github.com/OCA/l10n-canada/pull/43#discussion_r24638285"},"pull_request":{"href":"https://api.github.com/repos/OCA/l10n-canada/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/OCA/l10n-canada/pulls/43","id":26606324,"html_url":"https://github.com/OCA/l10n-canada/pull/43","diff_url":"https://github.com/OCA/l10n-canada/pull/43.diff","patch_url":"https://github.com/OCA/l10n-canada/pull/43.patch","issue_url":"https://api.github.com/repos/OCA/l10n-canada/issues/43","number":43,"state":"open","locked":false,"title":"Improve Canada Payroll","user":{"login":"dufresnedavid","id":8628981,"avatar_url":"https://avatars.githubusercontent.com/u/8628981?v=3","gravatar_id":"","url":"https://api.github.com/users/dufresnedavid","html_url":"https://github.com/dufresnedavid","followers_url":"https://api.github.com/users/dufresnedavid/followers","following_url":"https://api.github.com/users/dufresnedavid/following{/other_user}","gists_url":"https://api.github.com/users/dufresnedavid/gists{/gist_id}","starred_url":"https://api.github.com/users/dufresnedavid/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dufresnedavid/subscriptions","organizations_url":"https://api.github.com/users/dufresnedavid/orgs","repos_url":"https://api.github.com/users/dufresnedavid/repos","events_url":"https://api.github.com/users/dufresnedavid/events{/privacy}","received_events_url":"https://api.github.com/users/dufresnedavid/received_events","type":"User","site_admin":false},"body":"This module implements the canadian payroll structure. In order to pass the travis tests, the following pull requests need to pass:\r\nhttps://github.com/OCA/l10n-canada/pull/36\r\nhttps://github.com/OCA/l10n-canada/pull/32","created_at":"2014-12-26T20:29:56Z","updated_at":"2015-02-13T01:33:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"bae5a7549028bb4ba766adf344a4ebf0dfb8e5b3","assignee":null,"milestone":{"url":"https://api.github.com/repos/OCA/l10n-canada/milestones/3","labels_url":"https://api.github.com/repos/OCA/l10n-canada/milestones/3/labels","id":977765,"number":3,"title":"7.0","description":"","creator":{"login":"max3903","id":939952,"avatar_url":"https://avatars.githubusercontent.com/u/939952?v=3","gravatar_id":"","url":"https://api.github.com/users/max3903","html_url":"https://github.com/max3903","followers_url":"https://api.github.com/users/max3903/followers","following_url":"https://api.github.com/users/max3903/following{/other_user}","gists_url":"https://api.github.com/users/max3903/gists{/gist_id}","starred_url":"https://api.github.com/users/max3903/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/max3903/subscriptions","organizations_url":"https://api.github.com/users/max3903/orgs","repos_url":"https://api.github.com/users/max3903/repos","events_url":"https://api.github.com/users/max3903/events{/privacy}","received_events_url":"https://api.github.com/users/max3903/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":0,"state":"open","created_at":"2015-02-13T01:07:46Z","updated_at":"2015-02-13T01:31:17Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/OCA/l10n-canada/pulls/43/commits","review_comments_url":"https://api.github.com/repos/OCA/l10n-canada/pulls/43/comments","review_comment_url":"https://api.github.com/repos/OCA/l10n-canada/pulls/comments/{number}","comments_url":"https://api.github.com/repos/OCA/l10n-canada/issues/43/comments","statuses_url":"https://api.github.com/repos/OCA/l10n-canada/statuses/8129a8baa9ba83eb4918c0e1dcb239ac8d0f686f","head":{"label":"savoirfairelinux:7.0-ddufresne-l10n_ca_hr_payroll","ref":"7.0-ddufresne-l10n_ca_hr_payroll","sha":"8129a8baa9ba83eb4918c0e1dcb239ac8d0f686f","user":{"login":"savoirfairelinux","id":2735545,"avatar_url":"https://avatars.githubusercontent.com/u/2735545?v=3","gravatar_id":"","url":"https://api.github.com/users/savoirfairelinux","html_url":"https://github.com/savoirfairelinux","followers_url":"https://api.github.com/users/savoirfairelinux/followers","following_url":"https://api.github.com/users/savoirfairelinux/following{/other_user}","gists_url":"https://api.github.com/users/savoirfairelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/savoirfairelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savoirfairelinux/subscriptions","organizations_url":"https://api.github.com/users/savoirfairelinux/orgs","repos_url":"https://api.github.com/users/savoirfairelinux/repos","events_url":"https://api.github.com/users/savoirfairelinux/events{/privacy}","received_events_url":"https://api.github.com/users/savoirfairelinux/received_events","type":"Organization","site_admin":false},"repo":{"id":21148477,"name":"l10n-canada","full_name":"savoirfairelinux/l10n-canada","owner":{"login":"savoirfairelinux","id":2735545,"avatar_url":"https://avatars.githubusercontent.com/u/2735545?v=3","gravatar_id":"","url":"https://api.github.com/users/savoirfairelinux","html_url":"https://github.com/savoirfairelinux","followers_url":"https://api.github.com/users/savoirfairelinux/followers","following_url":"https://api.github.com/users/savoirfairelinux/following{/other_user}","gists_url":"https://api.github.com/users/savoirfairelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/savoirfairelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/savoirfairelinux/subscriptions","organizations_url":"https://api.github.com/users/savoirfairelinux/orgs","repos_url":"https://api.github.com/users/savoirfairelinux/repos","events_url":"https://api.github.com/users/savoirfairelinux/events{/privacy}","received_events_url":"https://api.github.com/users/savoirfairelinux/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/savoirfairelinux/l10n-canada","description":"Odoo modules for Canada","fork":true,"url":"https://api.github.com/repos/savoirfairelinux/l10n-canada","forks_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/forks","keys_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/keys{/key_id}","collaborators_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/teams","hooks_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/hooks","issue_events_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/issues/events{/number}","events_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/events","assignees_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/assignees{/user}","branches_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/branches{/branch}","tags_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/tags","blobs_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/git/refs{/sha}","trees_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/git/trees{/sha}","statuses_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/statuses/{sha}","languages_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/languages","stargazers_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/stargazers","contributors_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/contributors","subscribers_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/subscribers","subscription_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/subscription","commits_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/commits{/sha}","git_commits_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/git/commits{/sha}","comments_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/comments{/number}","issue_comment_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/issues/comments/{number}","contents_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/contents/{+path}","compare_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/compare/{base}...{head}","merges_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/merges","archive_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/downloads","issues_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/issues{/number}","pulls_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/pulls{/number}","milestones_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/milestones{/number}","notifications_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/labels{/name}","releases_url":"https://api.github.com/repos/savoirfairelinux/l10n-canada/releases{/id}","created_at":"2014-06-24T01:40:31Z","updated_at":"2014-08-20T22:54:17Z","pushed_at":"2015-02-12T23:51:18Z","git_url":"git://github.com/savoirfairelinux/l10n-canada.git","ssh_url":"git@github.com:savoirfairelinux/l10n-canada.git","clone_url":"https://github.com/savoirfairelinux/l10n-canada.git","svn_url":"https://github.com/savoirfairelinux/l10n-canada","homepage":"https://community.odoo.com/project/42","size":3640,"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-staging"}},"base":{"label":"OCA:7.0","ref":"7.0","sha":"b5b1641c73a5abfaa7c53bc8b70631e34fc03e2e","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":20230364,"name":"l10n-canada","full_name":"OCA/l10n-canada","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/l10n-canada","description":"Odoo modules for Canada","fork":false,"url":"https://api.github.com/repos/OCA/l10n-canada","forks_url":"https://api.github.com/repos/OCA/l10n-canada/forks","keys_url":"https://api.github.com/repos/OCA/l10n-canada/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OCA/l10n-canada/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OCA/l10n-canada/teams","hooks_url":"https://api.github.com/repos/OCA/l10n-canada/hooks","issue_events_url":"https://api.github.com/repos/OCA/l10n-canada/issues/events{/number}","events_url":"https://api.github.com/repos/OCA/l10n-canada/events","assignees_url":"https://api.github.com/repos/OCA/l10n-canada/assignees{/user}","branches_url":"https://api.github.com/repos/OCA/l10n-canada/branches{/branch}","tags_url":"https://api.github.com/repos/OCA/l10n-canada/tags","blobs_url":"https://api.github.com/repos/OCA/l10n-canada/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OCA/l10n-canada/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OCA/l10n-canada/git/refs{/sha}","trees_url":"https://api.github.com/repos/OCA/l10n-canada/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OCA/l10n-canada/statuses/{sha}","languages_url":"https://api.github.com/repos/OCA/l10n-canada/languages","stargazers_url":"https://api.github.com/repos/OCA/l10n-canada/stargazers","contributors_url":"https://api.github.com/repos/OCA/l10n-canada/contributors","subscribers_url":"https://api.github.com/repos/OCA/l10n-canada/subscribers","subscription_url":"https://api.github.com/repos/OCA/l10n-canada/subscription","commits_url":"https://api.github.com/repos/OCA/l10n-canada/commits{/sha}","git_commits_url":"https://api.github.com/repos/OCA/l10n-canada/git/commits{/sha}","comments_url":"https://api.github.com/repos/OCA/l10n-canada/comments{/number}","issue_comment_url":"https://api.github.com/repos/OCA/l10n-canada/issues/comments/{number}","contents_url":"https://api.github.com/repos/OCA/l10n-canada/contents/{+path}","compare_url":"https://api.github.com/repos/OCA/l10n-canada/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OCA/l10n-canada/merges","archive_url":"https://api.github.com/repos/OCA/l10n-canada/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OCA/l10n-canada/downloads","issues_url":"https://api.github.com/repos/OCA/l10n-canada/issues{/number}","pulls_url":"https://api.github.com/repos/OCA/l10n-canada/pulls{/number}","milestones_url":"https://api.github.com/repos/OCA/l10n-canada/milestones{/number}","notifications_url":"https://api.github.com/repos/OCA/l10n-canada/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OCA/l10n-canada/labels{/name}","releases_url":"https://api.github.com/repos/OCA/l10n-canada/releases{/id}","created_at":"2014-05-27T18:19:56Z","updated_at":"2015-02-02T01:07:33Z","pushed_at":"2015-02-02T01:07:33Z","git_url":"git://github.com/OCA/l10n-canada.git","ssh_url":"git@github.com:OCA/l10n-canada.git","clone_url":"https://github.com/OCA/l10n-canada.git","svn_url":"https://github.com/OCA/l10n-canada","homepage":"https://community.odoo.com/project/42","size":3872,"stargazers_count":2,"watchers_count":2,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":15,"forks":6,"open_issues":15,"watchers":2,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/OCA/l10n-canada/pulls/43"},"html":{"href":"https://github.com/OCA/l10n-canada/pull/43"},"issue":{"href":"https://api.github.com/repos/OCA/l10n-canada/issues/43"},"comments":{"href":"https://api.github.com/repos/OCA/l10n-canada/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/OCA/l10n-canada/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/OCA/l10n-canada/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/OCA/l10n-canada/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/OCA/l10n-canada/statuses/8129a8baa9ba83eb4918c0e1dcb239ac8d0f686f"}}}}