{"action":"created","issue":{"url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/issues/2166","repository_url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X","labels_url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/issues/2166/labels{/name}","comments_url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/issues/2166/comments","events_url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/issues/2166/events","html_url":"https://github.com/IMA-WorldHealth/bhima-2.X/pull/2166","id":261260979,"number":2166,"title":"feat(stock accounting) : Stock exit accounting","user":{"login":"mbayopanda","id":5445251,"avatar_url":"https://avatars1.githubusercontent.com/u/5445251?v=4","gravatar_id":"","url":"https://api.github.com/users/mbayopanda","html_url":"https://github.com/mbayopanda","followers_url":"https://api.github.com/users/mbayopanda/followers","following_url":"https://api.github.com/users/mbayopanda/following{/other_user}","gists_url":"https://api.github.com/users/mbayopanda/gists{/gist_id}","starred_url":"https://api.github.com/users/mbayopanda/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbayopanda/subscriptions","organizations_url":"https://api.github.com/users/mbayopanda/orgs","repos_url":"https://api.github.com/users/mbayopanda/repos","events_url":"https://api.github.com/users/mbayopanda/events{/privacy}","received_events_url":"https://api.github.com/users/mbayopanda/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-09-28T09:59:20Z","updated_at":"2017-09-29T10:46:45Z","closed_at":null,"author_association":"COLLABORATOR","pull_request":{"url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/pulls/2166","html_url":"https://github.com/IMA-WorldHealth/bhima-2.X/pull/2166","diff_url":"https://github.com/IMA-WorldHealth/bhima-2.X/pull/2166.diff","patch_url":"https://github.com/IMA-WorldHealth/bhima-2.X/pull/2166.patch"},"body":"This PR add : \r\n- A procedure `PostStockMovement` for writing in vouchers and journal\r\n- A reference lookup for stock movement\r\n- Transaction types for stock entry and stock exit\r\n- Write into vouchers and journal for : \r\n  - stock exit to patient\r\n  - stock exit to service\r\n  - stock loss\r\n\r\nrelated to #1488 about stock exit"},"comment":{"url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/issues/comments/333094801","html_url":"https://github.com/IMA-WorldHealth/bhima-2.X/pull/2166#issuecomment-333094801","issue_url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/issues/2166","id":333094801,"user":{"login":"bors[bot]","id":26634292,"avatar_url":"https://avatars3.githubusercontent.com/u/24979321?v=4","gravatar_id":"","url":"https://api.github.com/users/bors%5Bbot%5D","html_url":"https://github.com/apps/bors","followers_url":"https://api.github.com/users/bors%5Bbot%5D/followers","following_url":"https://api.github.com/users/bors%5Bbot%5D/following{/other_user}","gists_url":"https://api.github.com/users/bors%5Bbot%5D/gists{/gist_id}","starred_url":"https://api.github.com/users/bors%5Bbot%5D/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bors%5Bbot%5D/subscriptions","organizations_url":"https://api.github.com/users/bors%5Bbot%5D/orgs","repos_url":"https://api.github.com/users/bors%5Bbot%5D/repos","events_url":"https://api.github.com/users/bors%5Bbot%5D/events{/privacy}","received_events_url":"https://api.github.com/users/bors%5Bbot%5D/received_events","type":"Bot","site_admin":false},"created_at":"2017-09-29T10:46:45Z","updated_at":"2017-09-29T10:46:45Z","author_association":"NONE","body":"# Build succeeded\n  * [continuous-integration/travis-ci/push](https://travis-ci.org/IMA-WorldHealth/bhima-2.X/builds/281236933?utm_source=github_status&utm_medium=notification)"}}
{"actor":{"display_login":"bors"}}