{"action":"created","issue":{"url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/issues/47","labels_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/issues/47/comments","events_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/issues/47/events","html_url":"https://github.com/OCA/stock-logistics-warehouse/pull/47","id":70349302,"number":47,"title":"ADD module stock dynamic mto","user":{"login":"florian-dacosta","id":5393860,"avatar_url":"https://avatars.githubusercontent.com/u/5393860?v=3","gravatar_id":"","url":"https://api.github.com/users/florian-dacosta","html_url":"https://github.com/florian-dacosta","followers_url":"https://api.github.com/users/florian-dacosta/followers","following_url":"https://api.github.com/users/florian-dacosta/following{/other_user}","gists_url":"https://api.github.com/users/florian-dacosta/gists{/gist_id}","starred_url":"https://api.github.com/users/florian-dacosta/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/florian-dacosta/subscriptions","organizations_url":"https://api.github.com/users/florian-dacosta/orgs","repos_url":"https://api.github.com/users/florian-dacosta/repos","events_url":"https://api.github.com/users/florian-dacosta/events{/privacy}","received_events_url":"https://api.github.com/users/florian-dacosta/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":16,"created_at":"2015-04-23T08:48:41Z","updated_at":"2015-06-19T12:56:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/pulls/47","html_url":"https://github.com/OCA/stock-logistics-warehouse/pull/47","diff_url":"https://github.com/OCA/stock-logistics-warehouse/pull/47.diff","patch_url":"https://github.com/OCA/stock-logistics-warehouse/pull/47.patch"},"body":"Hello,\r\n\r\nWith products configured with the make to order route, it can happen that we end with some stock in the warehouse.\r\nFor example, we have a sale order, so a purchase order is made, then we cancel the sale order and we have un-wanted stock because the purchase order was already validated by the supplier.\r\n\r\nThis stock will stay forever since everytime a new sale order is made for this product, a purchase order will be created, no matter if we have stock or not.\r\n\r\nSo the goal of this module is to take product from the stock if any, even if the route configured is make to order.\r\nTo do so, on each pull rule belonging to the make to orde route, we can configure an equivalent make to stock rule.\r\nThanks for reviews"},"comment":{"url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/issues/comments/113507388","html_url":"https://github.com/OCA/stock-logistics-warehouse/pull/47#issuecomment-113507388","issue_url":"https://api.github.com/repos/OCA/stock-logistics-warehouse/issues/47","id":113507388,"user":{"login":"mylbco","id":3402495,"avatar_url":"https://avatars.githubusercontent.com/u/3402495?v=3","gravatar_id":"","url":"https://api.github.com/users/mylbco","html_url":"https://github.com/mylbco","followers_url":"https://api.github.com/users/mylbco/followers","following_url":"https://api.github.com/users/mylbco/following{/other_user}","gists_url":"https://api.github.com/users/mylbco/gists{/gist_id}","starred_url":"https://api.github.com/users/mylbco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mylbco/subscriptions","organizations_url":"https://api.github.com/users/mylbco/orgs","repos_url":"https://api.github.com/users/mylbco/repos","events_url":"https://api.github.com/users/mylbco/events{/privacy}","received_events_url":"https://api.github.com/users/mylbco/received_events","type":"User","site_admin":false},"created_at":"2015-06-19T12:56:35Z","updated_at":"2015-06-19T12:56:35Z","body":"@florian-dacosta\r\n@jgrandguillaume \r\n\r\nHi how is the status on this pull request ?\r\nI think I can use this module ...\r\n\r\nPeter"}}