InvenTree icon indicating copy to clipboard operation
InvenTree copied to clipboard

Scan In Stock Items can only do one at a time

Open sourpatchdyke opened this issue 1 year ago • 5 comments

Please verify that this bug has NOT been raised before.

  • [x] I checked and didn't find a similar issue

Describe the bug*

When I use "Scan In Stock Items" on a stock location, it only accepts the first barcode I scan. The second causes the dialog to close and only the first is actually scanned in.

Steps to Reproduce

  1. Open a Stock Location.
  2. Open "Scan In Stock Items".
  3. Scan two barcodes.

Expected behaviour

The dialog stays open and continues to accept barcodes.

Deployment Method

  • [x] Docker
  • [ ] Package
  • [ ] Bare metal
  • [ ] Other - added info in Steps to Reproduce

Version Information

Version Information:

InvenTree-Version: 0.17.0 dev Django Version: 4.2.15 Commit Hash: d4e67c0 Commit Date: 2024-09-13

Database: postgresql Debug-Mode: False Deployed using Docker: True Platform: Linux-6.1.0-25-amd64-x86_64-with Installer: DOC

Active plugins: False

Please verify if you can reproduce this bug on the demo site.

  • [ ] I can reproduce this bug on the demo site.

Relevant log output

No response

sourpatchdyke avatar Sep 14 '24 01:09 sourpatchdyke

Not checking "I can reproduce this bug on the demo site" shouldn't be taken to suggest it worked properly there. I don't have any barcodes on hand representing items on the demo site so I didn't try.

sourpatchdyke avatar Sep 14 '24 01:09 sourpatchdyke

@sourpatchdyke can you please provide some screenshots of the dialogs so we know exactly which part of the interface you are talking about?

SchrodingersGat avatar Sep 14 '24 01:09 SchrodingersGat

Yes, no problem. Here it is with one item scanned in. Any more and it just closes.

Image

sourpatchdyke avatar Sep 14 '24 02:09 sourpatchdyke

Ok, thanks. We'll need to look into it. You are also very welcome to submit a fix for this if you can work it out yourself. Otherwise, it will be addressed when we have some developer time

SchrodingersGat avatar Sep 16 '24 01:09 SchrodingersGat

Cool. I have no idea how to fix this so I'll let y'all deal with it.

sourpatchdyke avatar Sep 16 '24 01:09 sourpatchdyke

@SchrodingersGat this seems to regard CUI - should we close it out with the removal of CUI in #8384?

matmair avatar Nov 12 '24 11:11 matmair

@matmair yes, that makes sense

SchrodingersGat avatar Nov 18 '24 13:11 SchrodingersGat