InvenTree icon indicating copy to clipboard operation
InvenTree copied to clipboard

[FR] Scan in multiple stock items to a location

Open wlcx opened this issue 10 months ago • 2 comments

Please verify that this feature request has NOT been suggested before.

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

Problem statement

When transferring stock items between locations users frequently want to transfer multiple stock items to the same location. Currently, the Stock location > barcode actions > scan in stock item modal only accepts one scan, and automatically closes afterwards, meaning that the user has to put down the barcode scanner and click twice to reopen the modal.

Suggested solution

The dialog should stay open and accept another barcode scan with no UI interaction required. Some users may still want the auto-closing behavior, so this could be togglable with a checkbox in the modal, or a user setting.

Describe alternatives you've considered

The inventree app allows for this "multiple scan" flow already. I'm not sure there are any obvious alternatives in the current web UI?

Examples of other systems

No response

Do you want to develop this?

  • [x] I want to develop this.

wlcx avatar Jan 14 '26 14:01 wlcx

It would be a good improvement for sure. Additionally there is the "barcode scanning view" - which is intended to scan multiple items and then select an action to perform. However this is not fully featured yet.

Would you be willing to implement this, or part of this?

SchrodingersGat avatar Jan 17 '26 10:01 SchrodingersGat

Hi @SchrodingersGat, I'd be happy to implement this! My plan for the Stock location > barcode actions > scan in stock item modal in src/frontend/:

  1. Add a toggle (e.g. a "Keep modal open for multiple scans" checkbox) in the Scan In dialog.
  2. When enabled, keep the modal open after a successful scan, clear the barcode input, and re-focus it so the next item can be scanned immediately without extra clicks (preserving the existing auto-close behavior when unchecked).
  3. Update/add frontend tests and verify TypeScript, lint, Lingui, and build checks.

Working on this now and will open a PR shortly.

Sauvi72 avatar Nov 25 '26 18:11 Sauvi72