{"action":"created","issue":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/10083","labels_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10083/labels{/name}","comments_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10083/comments","events_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10083/events","html_url":"https://github.com/woothemes/woocommerce/issues/10083","id":126968033,"number":10083,"title":"Stock reduces to \"out of stock\"  out of 20 after 1 purchase.","user":{"login":"hairygael","id":8484551,"avatar_url":"https://avatars.githubusercontent.com/u/8484551?v=3","gravatar_id":"","url":"https://api.github.com/users/hairygael","html_url":"https://github.com/hairygael","followers_url":"https://api.github.com/users/hairygael/followers","following_url":"https://api.github.com/users/hairygael/following{/other_user}","gists_url":"https://api.github.com/users/hairygael/gists{/gist_id}","starred_url":"https://api.github.com/users/hairygael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairygael/subscriptions","organizations_url":"https://api.github.com/users/hairygael/orgs","repos_url":"https://api.github.com/users/hairygael/repos","events_url":"https://api.github.com/users/hairygael/events{/privacy}","received_events_url":"https://api.github.com/users/hairygael/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-01-15T22:07:56Z","updated_at":"2016-01-18T21:47:16Z","closed_at":"2016-01-18T10:29:34Z","body":"Hello, I have a recent issue with Woocommerce version  2.4.12. WP version 4.1.9.\r\n\r\nExample of the behaviour:\r\n\r\n   -Product set as stock of 20 so shows 20 out of 20 available.\r\n   -Someone purchase 1 product and complete checkout.\r\n   -Now stock shows on product page \"out of stock\".\r\n   -Dashboard also shows product \"out of stock\" instead of what it should show: 19 out of 20 (so stock reduced by 1)\r\n\r\nThanks for your help.\r\n"},"comment":{"url":"https://api.github.com/repos/woothemes/woocommerce/issues/comments/172662730","html_url":"https://github.com/woothemes/woocommerce/issues/10083#issuecomment-172662730","issue_url":"https://api.github.com/repos/woothemes/woocommerce/issues/10083","id":172662730,"user":{"login":"hairygael","id":8484551,"avatar_url":"https://avatars.githubusercontent.com/u/8484551?v=3","gravatar_id":"","url":"https://api.github.com/users/hairygael","html_url":"https://github.com/hairygael","followers_url":"https://api.github.com/users/hairygael/followers","following_url":"https://api.github.com/users/hairygael/following{/other_user}","gists_url":"https://api.github.com/users/hairygael/gists{/gist_id}","starred_url":"https://api.github.com/users/hairygael/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hairygael/subscriptions","organizations_url":"https://api.github.com/users/hairygael/orgs","repos_url":"https://api.github.com/users/hairygael/repos","events_url":"https://api.github.com/users/hairygael/events{/privacy}","received_events_url":"https://api.github.com/users/hairygael/received_events","type":"User","site_admin":false},"created_at":"2016-01-18T21:47:16Z","updated_at":"2016-01-18T21:47:16Z","body":"Thanks very much.\r\nWe got it to work!\r\nApparently we had to rewrite the math in the plugin to get it to work. I didn't do it myself, I just wouldn't know how to.\r\nThough I think it is strange that we had to do such arrangement.\r\nCrossing my fingers and hoping it didn't affect something else.\r\nThanks again for your help."}}