frappe / erpnext

Free and Open Source Enterprise Resource Planning (ERP)
https://erpnext.com
GNU General Public License v3.0
21.78k stars 7.31k forks source link

Batch & Item are not reflected properly during Batch creation #12798

Closed hdtmartin closed 6 years ago

hdtmartin commented 6 years ago

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.

Kindly do a quick fix.

Thanks!

se issue se issue2

umairsy commented 6 years ago

Not replicating in my test account.

screen shot 2018-02-12 at 1 23 48 pm

If it is still replicating in your account, feel free to reopen this issue.

hdtmartin commented 6 years ago

Hi umairsy,

Thanks for looking into this.

However, it is still replicating in my account.

Hope you can fix it soonest as users are getting annoyed with it since they need to interchange the batch into the item field for every transaction they have to enter.

BTW, I cannot reopen the issue. Seems like I don't have the permission to do it. Please let me know if I need to create a New Issue for this. Thanks!

rohitwaghchaure commented 6 years ago

@hdtmartin Not replicating issue in local account, do you have any local customizations in the doctype batch or stock entry? Kindly check is there any default value has been set in the item for the doctype Batch using customize form

rohitwaghchaure commented 6 years ago

Closing the issue as it's not replicated, feel free to reopen if issue still persists

hdtmartin commented 6 years ago

Hi Rohit,

Thanks for looking into this.

We don't have any local customization in the doctype batch or stock entry. However, this continue to bug our users.

I have attached here a recorded screen of the issue for your perusal. Should you need access into our environment just let me know, so I can give you account to peep into the issue.

batchissue

Thanks!

hdtmartin commented 6 years ago

@umairsy @rohitwaghchaure

This is still bugging us...

Thanks for looking into this. Let me know if I need to create a new issue for this.

Regards, Harold

rohitwaghchaure commented 6 years ago

@hdtmartin

I have again checked and it's working properly, is there any user permission created in your account for doctype Item?

hdtmartin commented 6 years ago

@rohitwaghchaure

There is no user permission created in doctype Item.

BTW, I have created a new instance https://jbme.erpnext.com. You may test from here using the following credentials:

Account ID: guest@gmail.com Password: 12345

To replicate the issue, do the following:

a) Create a new Stock Entry. b) Purpose: Material Receipt c) Set Target Warehouse: Finished Goods d) Set Item Code: Test Item e) Set Qty: 1 f) Go to Batch No. g) Input Batch: 12345 (or any Batch Number you may want). Don't forget to do this step before proceeding to the next step. h) Click '+Create a New Batch' from the drop down menu. i) 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.

hdtmartin commented 6 years ago

@rohitwaghchaure

Were you already able to replicate the issue? Thanks for your patience.

hdtmartin commented 6 years ago

@umairsy @rohitwaghchaure

Hope to get a feedback on this. This is still a concern of our users.

Thanks!

rohitwaghchaure commented 6 years ago

@hdtmartin

Thanks for sharing the detailed steps, we've identified and fixed the issue and we'll release the fix of this issue in next update. I am closing this issue now

hdtmartin commented 6 years ago

Thanks for your help @rohitwaghchaure! This will surely be a relief for our users.