[FR] Scan in multiple stock items to a location

Open
#11,138 1 comment 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

  • #11682 by @verysleepylemon — closed without merging

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Stale
Tech stack
django, python
Domain
frontend

Research direction

The target is the "scan in stock item" modal under the stock location barcode actions in the web UI, which currently closes after one scan. Find that modal's component and the handler that closes it after a successful scan, then check the backend barcode scan-in endpoint it calls. Done means the modal stays open for repeated scans, with a togglable option to keep the current auto-close behaviour. Note that linked PR #11682 was closed without merging, so check why before starting.

Written by the indexing model from the issue text.

Description

barcode enhancement User Interface
Please verify that this feature request has NOT been suggested before.
  • 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?
  • I want to develop this.
Dominant language
Python
Stars
7.7k
Forks
1.6k
Avg merge
21h 45m
Merged PRs (30d)
204

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from inventree/InvenTree

All issues in inventree/InvenTree

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.