{"action":"created","issue":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/797","repository_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork","labels_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/797/labels{/name}","comments_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/797/comments","events_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/797/events","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/issues/797","id":129954607,"number":797,"title":"When I upload a product, if I click \"on demand\" and I delete the \"0\" in the \"on hand\" field, error message","user":{"login":"myriamboure","id":8135376,"avatar_url":"https://avatars.githubusercontent.com/u/8135376?v=3","gravatar_id":"","url":"https://api.github.com/users/myriamboure","html_url":"https://github.com/myriamboure","followers_url":"https://api.github.com/users/myriamboure/followers","following_url":"https://api.github.com/users/myriamboure/following{/other_user}","gists_url":"https://api.github.com/users/myriamboure/gists{/gist_id}","starred_url":"https://api.github.com/users/myriamboure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myriamboure/subscriptions","organizations_url":"https://api.github.com/users/myriamboure/orgs","repos_url":"https://api.github.com/users/myriamboure/repos","events_url":"https://api.github.com/users/myriamboure/events{/privacy}","received_events_url":"https://api.github.com/users/myriamboure/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/labels/france","name":"france","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-01-30T07:42:15Z","updated_at":"2016-07-05T14:10:32Z","closed_at":null,"body":"When I upload a product, if I click \"on demand\" and I delete the \"0\" in the \"on hand\" field: our beta-testeurs naturally did that as it was inconsistent for them to leave a \"0\" stock when a product is \"on demand\".\r\nThen the system bug, and the image seems to be lost.\r\nThe word \"infinity\" is written in the \"on hand\" field.\r\n![infinity](https://cloud.githubusercontent.com/assets/8135376/12694408/4c78b4c8-c72d-11e5-940f-bb80b9f4be15.png)\r\n\r\nWe should allow people to delete the \"0\" field without that causing a bug."},"comment":{"url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/comments/230489130","html_url":"https://github.com/openfoodfoundation/openfoodnetwork/issues/797#issuecomment-230489130","issue_url":"https://api.github.com/repos/openfoodfoundation/openfoodnetwork/issues/797","id":230489130,"user":{"login":"myriamboure","id":8135376,"avatar_url":"https://avatars.githubusercontent.com/u/8135376?v=3","gravatar_id":"","url":"https://api.github.com/users/myriamboure","html_url":"https://github.com/myriamboure","followers_url":"https://api.github.com/users/myriamboure/followers","following_url":"https://api.github.com/users/myriamboure/following{/other_user}","gists_url":"https://api.github.com/users/myriamboure/gists{/gist_id}","starred_url":"https://api.github.com/users/myriamboure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/myriamboure/subscriptions","organizations_url":"https://api.github.com/users/myriamboure/orgs","repos_url":"https://api.github.com/users/myriamboure/repos","events_url":"https://api.github.com/users/myriamboure/events{/privacy}","received_events_url":"https://api.github.com/users/myriamboure/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T14:10:32Z","updated_at":"2016-07-05T14:10:32Z","body":"Is it something easy you could work on @blancnic ?\r\nFor example: if I delete the \"0 \"in the \"disponible\" box and clic on \"a volonté\", maybe you can force the system to reput the 0 so that it doesn't bug... if it's the easiest way ;-)\r\nMore user friendly (because it can be a bit confusing to have 0 in stock and on demand at the same time) woud be to ensure that the \"Infinity\" doesn't create the bug, maybe remove the control on the field \"disponible\"..."}}
{"actor":{"display_login":"myriamboure"}}