{"action":"created","issue":{"url":"https://api.github.com/repos/frappe/erpnext/issues/12798","repository_url":"https://api.github.com/repos/frappe/erpnext","labels_url":"https://api.github.com/repos/frappe/erpnext/issues/12798/labels{/name}","comments_url":"https://api.github.com/repos/frappe/erpnext/issues/12798/comments","events_url":"https://api.github.com/repos/frappe/erpnext/issues/12798/events","html_url":"https://github.com/frappe/erpnext/issues/12798","id":294963275,"number":12798,"title":"Batch & Item are not reflected properly during Batch creation","user":{"login":"hdtmartin","id":26181150,"avatar_url":"https://avatars3.githubusercontent.com/u/26181150?v=4","gravatar_id":"","url":"https://api.github.com/users/hdtmartin","html_url":"https://github.com/hdtmartin","followers_url":"https://api.github.com/users/hdtmartin/followers","following_url":"https://api.github.com/users/hdtmartin/following{/other_user}","gists_url":"https://api.github.com/users/hdtmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/hdtmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdtmartin/subscriptions","organizations_url":"https://api.github.com/users/hdtmartin/orgs","repos_url":"https://api.github.com/users/hdtmartin/repos","events_url":"https://api.github.com/users/hdtmartin/events{/privacy}","received_events_url":"https://api.github.com/users/hdtmartin/received_events","type":"User","site_admin":false},"labels":[{"id":42304942,"url":"https://api.github.com/repos/frappe/erpnext/labels/bug","name":"bug","color":"e11d21","default":true},{"id":514325089,"url":"https://api.github.com/repos/frappe/erpnext/labels/to%20validate","name":"to validate","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":{"login":"rohitwaghchaure","id":8780500,"avatar_url":"https://avatars0.githubusercontent.com/u/8780500?v=4","gravatar_id":"","url":"https://api.github.com/users/rohitwaghchaure","html_url":"https://github.com/rohitwaghchaure","followers_url":"https://api.github.com/users/rohitwaghchaure/followers","following_url":"https://api.github.com/users/rohitwaghchaure/following{/other_user}","gists_url":"https://api.github.com/users/rohitwaghchaure/gists{/gist_id}","starred_url":"https://api.github.com/users/rohitwaghchaure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohitwaghchaure/subscriptions","organizations_url":"https://api.github.com/users/rohitwaghchaure/orgs","repos_url":"https://api.github.com/users/rohitwaghchaure/repos","events_url":"https://api.github.com/users/rohitwaghchaure/events{/privacy}","received_events_url":"https://api.github.com/users/rohitwaghchaure/received_events","type":"User","site_admin":false},"assignees":[{"login":"rohitwaghchaure","id":8780500,"avatar_url":"https://avatars0.githubusercontent.com/u/8780500?v=4","gravatar_id":"","url":"https://api.github.com/users/rohitwaghchaure","html_url":"https://github.com/rohitwaghchaure","followers_url":"https://api.github.com/users/rohitwaghchaure/followers","following_url":"https://api.github.com/users/rohitwaghchaure/following{/other_user}","gists_url":"https://api.github.com/users/rohitwaghchaure/gists{/gist_id}","starred_url":"https://api.github.com/users/rohitwaghchaure/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rohitwaghchaure/subscriptions","organizations_url":"https://api.github.com/users/rohitwaghchaure/orgs","repos_url":"https://api.github.com/users/rohitwaghchaure/repos","events_url":"https://api.github.com/users/rohitwaghchaure/events{/privacy}","received_events_url":"https://api.github.com/users/rohitwaghchaure/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2018-02-07T00:30:57Z","updated_at":"2018-02-27T09:23:40Z","closed_at":null,"author_association":"NONE","body":"During Stock Entry (Material Receipt), when creating a New Batch from the Batch field using \"+Create a new Batch\", the succeeding create window does not contain the correct values. The Item field contains the Batch field, instead of the Item to which the Batch should be created. On the other hand, the Batch field is blank when it should contain the new Batch to be created.\r\n\r\nKindly do a quick fix.\r\n\r\nThanks!\r\n\r\n![se issue](https://user-images.githubusercontent.com/26181150/35891835-2d7af9fa-0be1-11e8-91ac-8c24f6de6dec.png)\r\n![se issue2](https://user-images.githubusercontent.com/26181150/35891836-2dad88ca-0be1-11e8-9230-7ad1b617de5e.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/frappe/erpnext/issues/comments/368804658","html_url":"https://github.com/frappe/erpnext/issues/12798#issuecomment-368804658","issue_url":"https://api.github.com/repos/frappe/erpnext/issues/12798","id":368804658,"user":{"login":"hdtmartin","id":26181150,"avatar_url":"https://avatars3.githubusercontent.com/u/26181150?v=4","gravatar_id":"","url":"https://api.github.com/users/hdtmartin","html_url":"https://github.com/hdtmartin","followers_url":"https://api.github.com/users/hdtmartin/followers","following_url":"https://api.github.com/users/hdtmartin/following{/other_user}","gists_url":"https://api.github.com/users/hdtmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/hdtmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hdtmartin/subscriptions","organizations_url":"https://api.github.com/users/hdtmartin/orgs","repos_url":"https://api.github.com/users/hdtmartin/repos","events_url":"https://api.github.com/users/hdtmartin/events{/privacy}","received_events_url":"https://api.github.com/users/hdtmartin/received_events","type":"User","site_admin":false},"created_at":"2018-02-27T09:23:40Z","updated_at":"2018-02-27T09:23:40Z","author_association":"NONE","body":"There is no user permission created in doctype Item.\r\n\r\nBTW, I have created a new instance https://jbme.erpnext.com. You may test from here using the following credentials:\r\n\r\nAccount ID: guest@gmail.com\r\nPassword: 12345\r\n\r\nTo replicate the issue, do the following:\r\n\r\na) Create a new Stock Entry.\r\nb) Purpose: Material Receipt\r\nc) Set Target Warehouse: Finished Goods\r\nd) Set Item Code: Test Item\r\ne) Set Qty: 1\r\nf) Go to Batch No.\r\ng) Input Batch: 12345 (or any Batch Number you may want).\r\n      Don't forget to do this step before proceeding to the next step.\r\nh) Click '+Create a New Batch' from the drop down menu.\r\ni) Check on the next window. You will see that the batch number you have entered in step g is put under Item field instead of Batch ID field."}}
{"actor":{"display_login":"hdtmartin"}}