{"action":"closed","issue":{"url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/issues/3099","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/3099/labels{/name}","comments_url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/issues/3099/comments","events_url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/issues/3099/events","html_url":"https://github.com/IMA-WorldHealth/bhima-2.X/issues/3099","id":355487419,"node_id":"MDU6SXNzdWUzNTU0ODc0MTk=","number":3099,"title":"Set Stock Accounting optional via the enterprise settings","user":{"login":"mbayopanda","id":5445251,"node_id":"MDQ6VXNlcjU0NDUyNTE=","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":[{"id":579268739,"node_id":"MDU6TGFiZWw1NzkyNjg3Mzk=","url":"https://api.github.com/repos/IMA-WorldHealth/bhima-2.X/labels/proposal","name":"proposal","color":"0052cc","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-08-30T08:53:39Z","updated_at":"2018-09-10T13:54:52Z","closed_at":"2018-09-10T13:54:52Z","author_association":"COLLABORATOR","body":"The current state of BHIMA force to write stock operations directly in the posting_journal, so for using stocks we must define all accounts settings for inventory and inventory groups first.\r\n\r\nFor an instance of bhima which doesn't require to use accounting or for an enterprise which use stock management according the 'Inventaire intermittent' method _(which require to write stocks operations in the journal just a the end of the fiscal year)_, there is no need to configure accounts for inventory or inventory groups.\r\n\r\nThis issue is about to add an option in the enterprise setting, to choose if stocks operations must write into the posting journal or not.\r\n\r\nIf the user set that stocks operations must not write directly into the posting journal, stocks modules will skip all operation relates to accounts or accounting."}}
{"actor":{"display_login":"jniles"}}