{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/feketemihai/hr/pulls/1","id":34599967,"html_url":"https://github.com/feketemihai/hr/pull/1","diff_url":"https://github.com/feketemihai/hr/pull/1.diff","patch_url":"https://github.com/feketemihai/hr/pull/1.patch","issue_url":"https://api.github.com/repos/feketemihai/hr/issues/1","number":1,"state":"open","locked":false,"title":"Remove field name related, change init script, add unittests","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":"Renamed hr.py to hr_employee.py\r\nAdded the write method to keep compatibility between modules.\r\nChanged the sql script for a python script.\r\nThe default value for firstname and lastname is to avoid errors with demo data when the module installs.\r\nRemoved the field name_related. It is useless.\r\nAdded unit tests.\r\n","created_at":"2015-05-03T11:39:05Z","updated_at":"2015-05-03T11:39:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f67722c793f3fb4f702722da97f270631034023","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/feketemihai/hr/pulls/1/commits","review_comments_url":"https://api.github.com/repos/feketemihai/hr/pulls/1/comments","review_comment_url":"https://api.github.com/repos/feketemihai/hr/pulls/comments{/number}","comments_url":"https://api.github.com/repos/feketemihai/hr/issues/1/comments","statuses_url":"https://api.github.com/repos/feketemihai/hr/statuses/8e047d655b731d17c93a4aaf450d0d7f3b285b6b","head":{"label":"dufresnedavid:employee_firstname","ref":"employee_firstname","sha":"8e047d655b731d17c93a4aaf450d0d7f3b285b6b","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},"repo":{"id":32640358,"name":"hr","full_name":"dufresnedavid/hr","owner":{"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},"private":false,"html_url":"https://github.com/dufresnedavid/hr","description":"Odoo Human Ressources Addons","fork":true,"url":"https://api.github.com/repos/dufresnedavid/hr","forks_url":"https://api.github.com/repos/dufresnedavid/hr/forks","keys_url":"https://api.github.com/repos/dufresnedavid/hr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dufresnedavid/hr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dufresnedavid/hr/teams","hooks_url":"https://api.github.com/repos/dufresnedavid/hr/hooks","issue_events_url":"https://api.github.com/repos/dufresnedavid/hr/issues/events{/number}","events_url":"https://api.github.com/repos/dufresnedavid/hr/events","assignees_url":"https://api.github.com/repos/dufresnedavid/hr/assignees{/user}","branches_url":"https://api.github.com/repos/dufresnedavid/hr/branches{/branch}","tags_url":"https://api.github.com/repos/dufresnedavid/hr/tags","blobs_url":"https://api.github.com/repos/dufresnedavid/hr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dufresnedavid/hr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dufresnedavid/hr/git/refs{/sha}","trees_url":"https://api.github.com/repos/dufresnedavid/hr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dufresnedavid/hr/statuses/{sha}","languages_url":"https://api.github.com/repos/dufresnedavid/hr/languages","stargazers_url":"https://api.github.com/repos/dufresnedavid/hr/stargazers","contributors_url":"https://api.github.com/repos/dufresnedavid/hr/contributors","subscribers_url":"https://api.github.com/repos/dufresnedavid/hr/subscribers","subscription_url":"https://api.github.com/repos/dufresnedavid/hr/subscription","commits_url":"https://api.github.com/repos/dufresnedavid/hr/commits{/sha}","git_commits_url":"https://api.github.com/repos/dufresnedavid/hr/git/commits{/sha}","comments_url":"https://api.github.com/repos/dufresnedavid/hr/comments{/number}","issue_comment_url":"https://api.github.com/repos/dufresnedavid/hr/issues/comments{/number}","contents_url":"https://api.github.com/repos/dufresnedavid/hr/contents/{+path}","compare_url":"https://api.github.com/repos/dufresnedavid/hr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dufresnedavid/hr/merges","archive_url":"https://api.github.com/repos/dufresnedavid/hr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dufresnedavid/hr/downloads","issues_url":"https://api.github.com/repos/dufresnedavid/hr/issues{/number}","pulls_url":"https://api.github.com/repos/dufresnedavid/hr/pulls{/number}","milestones_url":"https://api.github.com/repos/dufresnedavid/hr/milestones{/number}","notifications_url":"https://api.github.com/repos/dufresnedavid/hr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dufresnedavid/hr/labels{/name}","releases_url":"https://api.github.com/repos/dufresnedavid/hr/releases{/id}","created_at":"2015-03-21T16:39:36Z","updated_at":"2015-03-21T16:39:37Z","pushed_at":"2015-05-03T11:33:34Z","git_url":"git://github.com/dufresnedavid/hr.git","ssh_url":"git@github.com:dufresnedavid/hr.git","clone_url":"https://github.com/dufresnedavid/hr.git","svn_url":"https://github.com/dufresnedavid/hr","homepage":"","size":4861,"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":"feketemihai:mig_hr_employee_firstname","ref":"mig_hr_employee_firstname","sha":"69399dcc151d933dd27bb7656ea278bf767054f1","user":{"login":"feketemihai","id":7651755,"avatar_url":"https://avatars.githubusercontent.com/u/7651755?v=3","gravatar_id":"","url":"https://api.github.com/users/feketemihai","html_url":"https://github.com/feketemihai","followers_url":"https://api.github.com/users/feketemihai/followers","following_url":"https://api.github.com/users/feketemihai/following{/other_user}","gists_url":"https://api.github.com/users/feketemihai/gists{/gist_id}","starred_url":"https://api.github.com/users/feketemihai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feketemihai/subscriptions","organizations_url":"https://api.github.com/users/feketemihai/orgs","repos_url":"https://api.github.com/users/feketemihai/repos","events_url":"https://api.github.com/users/feketemihai/events{/privacy}","received_events_url":"https://api.github.com/users/feketemihai/received_events","type":"User","site_admin":false},"repo":{"id":33308928,"name":"hr","full_name":"feketemihai/hr","owner":{"login":"feketemihai","id":7651755,"avatar_url":"https://avatars.githubusercontent.com/u/7651755?v=3","gravatar_id":"","url":"https://api.github.com/users/feketemihai","html_url":"https://github.com/feketemihai","followers_url":"https://api.github.com/users/feketemihai/followers","following_url":"https://api.github.com/users/feketemihai/following{/other_user}","gists_url":"https://api.github.com/users/feketemihai/gists{/gist_id}","starred_url":"https://api.github.com/users/feketemihai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feketemihai/subscriptions","organizations_url":"https://api.github.com/users/feketemihai/orgs","repos_url":"https://api.github.com/users/feketemihai/repos","events_url":"https://api.github.com/users/feketemihai/events{/privacy}","received_events_url":"https://api.github.com/users/feketemihai/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/feketemihai/hr","description":"Odoo Human Ressources Addons","fork":true,"url":"https://api.github.com/repos/feketemihai/hr","forks_url":"https://api.github.com/repos/feketemihai/hr/forks","keys_url":"https://api.github.com/repos/feketemihai/hr/keys{/key_id}","collaborators_url":"https://api.github.com/repos/feketemihai/hr/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/feketemihai/hr/teams","hooks_url":"https://api.github.com/repos/feketemihai/hr/hooks","issue_events_url":"https://api.github.com/repos/feketemihai/hr/issues/events{/number}","events_url":"https://api.github.com/repos/feketemihai/hr/events","assignees_url":"https://api.github.com/repos/feketemihai/hr/assignees{/user}","branches_url":"https://api.github.com/repos/feketemihai/hr/branches{/branch}","tags_url":"https://api.github.com/repos/feketemihai/hr/tags","blobs_url":"https://api.github.com/repos/feketemihai/hr/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/feketemihai/hr/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/feketemihai/hr/git/refs{/sha}","trees_url":"https://api.github.com/repos/feketemihai/hr/git/trees{/sha}","statuses_url":"https://api.github.com/repos/feketemihai/hr/statuses/{sha}","languages_url":"https://api.github.com/repos/feketemihai/hr/languages","stargazers_url":"https://api.github.com/repos/feketemihai/hr/stargazers","contributors_url":"https://api.github.com/repos/feketemihai/hr/contributors","subscribers_url":"https://api.github.com/repos/feketemihai/hr/subscribers","subscription_url":"https://api.github.com/repos/feketemihai/hr/subscription","commits_url":"https://api.github.com/repos/feketemihai/hr/commits{/sha}","git_commits_url":"https://api.github.com/repos/feketemihai/hr/git/commits{/sha}","comments_url":"https://api.github.com/repos/feketemihai/hr/comments{/number}","issue_comment_url":"https://api.github.com/repos/feketemihai/hr/issues/comments{/number}","contents_url":"https://api.github.com/repos/feketemihai/hr/contents/{+path}","compare_url":"https://api.github.com/repos/feketemihai/hr/compare/{base}...{head}","merges_url":"https://api.github.com/repos/feketemihai/hr/merges","archive_url":"https://api.github.com/repos/feketemihai/hr/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/feketemihai/hr/downloads","issues_url":"https://api.github.com/repos/feketemihai/hr/issues{/number}","pulls_url":"https://api.github.com/repos/feketemihai/hr/pulls{/number}","milestones_url":"https://api.github.com/repos/feketemihai/hr/milestones{/number}","notifications_url":"https://api.github.com/repos/feketemihai/hr/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/feketemihai/hr/labels{/name}","releases_url":"https://api.github.com/repos/feketemihai/hr/releases{/id}","created_at":"2015-04-02T12:59:59Z","updated_at":"2015-04-20T04:46:40Z","pushed_at":"2015-05-03T11:39:05Z","git_url":"git://github.com/feketemihai/hr.git","ssh_url":"git@github.com:feketemihai/hr.git","clone_url":"https://github.com/feketemihai/hr.git","svn_url":"https://github.com/feketemihai/hr","homepage":"","size":5285,"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":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"8.0"}},"_links":{"self":{"href":"https://api.github.com/repos/feketemihai/hr/pulls/1"},"html":{"href":"https://github.com/feketemihai/hr/pull/1"},"issue":{"href":"https://api.github.com/repos/feketemihai/hr/issues/1"},"comments":{"href":"https://api.github.com/repos/feketemihai/hr/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/feketemihai/hr/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/feketemihai/hr/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/feketemihai/hr/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/feketemihai/hr/statuses/8e047d655b731d17c93a4aaf450d0d7f3b285b6b"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":140,"deletions":95,"changed_files":5}}