{"action":"created","issue":{"url":"https://api.github.com/repos/OCA/hr/issues/56","labels_url":"https://api.github.com/repos/OCA/hr/issues/56/labels{/name}","comments_url":"https://api.github.com/repos/OCA/hr/issues/56/comments","events_url":"https://api.github.com/repos/OCA/hr/issues/56/events","html_url":"https://github.com/OCA/hr/pull/56","id":51854665,"number":56,"title":"7.0 worked days from timesheet payslip run integration","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},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":9,"created_at":"2014-12-12T21:24:38Z","updated_at":"2015-02-01T15:06:32Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OCA/hr/pulls/56","html_url":"https://github.com/OCA/hr/pull/56","diff_url":"https://github.com/OCA/hr/pull/56.diff","patch_url":"https://github.com/OCA/hr/pull/56.patch"},"body":"This PR adds the possibility in payslip batch to import worked days from timesheet. This adds a simple box to check in the wizard form if the user wants to use this functionnality.\r\n\r\nAlso, I moved the yml test to python unittest. The reason for this is that unittest is allows to create data with loops, which does not seem to work in yml. This makes the tests easier to read and understand.\r\n\r\nFor the method get_timesheets_from_employee, it is a former section of the method import_worked_days that I separated so that it could be called by the payslip run wizard (hr_payslip_employees)."},"comment":{"url":"https://api.github.com/repos/OCA/hr/issues/comments/72368243","html_url":"https://github.com/OCA/hr/pull/56#issuecomment-72368243","issue_url":"https://api.github.com/repos/OCA/hr/issues/56","id":72368243,"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},"created_at":"2015-02-01T15:06:32Z","updated_at":"2015-02-01T15:06:32Z","body":"@max3903, @bwrsandman I would need a review for this PR."}}